Skip to content

Commit 67f0c1e

Browse files
committed
refactor: fix lint
1 parent d9eb84b commit 67f0c1e

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

packages/utils/src/lib/profiler/wal-json-trace.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,14 @@ export function generateTraceContent(
7474
* Creates a WAL (Write-Ahead Logging) format configuration for Chrome DevTools trace files.
7575
* Automatically finalizes shards into complete trace files with proper metadata and margin events.
7676
* @template T - Type of trace events, defaults to UserTimingTraceEvent
77-
* @param opt - Optional configuration for the WAL format
78-
* @param opt.dir - Optional directory for WAL files (not used in returned object)
79-
* @param opt.groupId - Optional group identifier for organizing trace files
80-
* @returns WalFormat configuration object with codec, paths, and finalizer
77+
* @returns WalFormat configuration object with baseName, codec, extensions, and finalizer
8178
*/
8279
export const traceEventWalFormat = <
8380
T extends UserTimingTraceEvent = UserTimingTraceEvent,
84-
>(opt?: {
85-
dir?: string;
86-
groupId?: string;
87-
}) => {
81+
>() => {
8882
const baseName = 'trace';
8983
const walExtension = '.jsonl';
9084
const finalExtension = '.json';
91-
const groupId = opt?.groupId;
9285
return {
9386
baseName,
9487
walExtension,

0 commit comments

Comments
 (0)