Skip to content

Commit c5459ca

Browse files
niieanibbrzoska
authored andcommitted
chore: fix types
1 parent ccba038 commit c5459ca

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/stories/mockComponentsv3/App.stories.tsx

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import React, { useEffect } from 'react'
23
import type { Meta, StoryObj } from '@storybook/react'
34
import { createConsoleTraceLogger } from '../../v3/ConsoleTraceLogger'
@@ -51,13 +52,6 @@ export const WithConsoleTraceLogger: Story = {
5152
'Try clicking on tickets to see trace events logged in real-time.',
5253
)
5354

54-
// Example of custom logger function if needed
55-
// consoleLogger.setOptions({
56-
// logFn: (message) => {
57-
// console.log(`%c${message}`, 'color: blue');
58-
// }
59-
// });
60-
6155
// Clean up the logger when the component unmounts
6256
return () => {
6357
consoleLogger.cleanup()

src/v3/debugUtils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export function getConfigSummary<
5858

5959
// Helper to get computed values/spans for completed/interrupted traces
6060
export function getComputedResults<RelationSchemasT>(
61+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
6162
traceContext: TraceContext<any, RelationSchemasT, any>,
6263
finalTransition: FinalTransition<RelationSchemasT>,
6364
) {

0 commit comments

Comments
 (0)