Skip to content

Commit cec7a14

Browse files
committed
remove unneeded ts-expect-error
1 parent f68f397 commit cec7a14

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/core/src/baseclient.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
435435
/** @inheritdoc */
436436
public emit(hook: string, ...rest: unknown[]): void {
437437
if (this._hooks[hook]) {
438-
// @ts-expect-error we cannot enforce the callback to match the hook
439438
this._hooks[hook].forEach(callback => callback(...rest));
440439
}
441440
}

packages/replay/src/util/createPerformanceEntries.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import type {
1414
} from '../types';
1515

1616
// Map entryType -> function to normalize data for event
17-
// @ts-expect-error TODO: entry type does not fit the create* functions entry type
1817
const ENTRY_TYPES: Record<
1918
string,
2019
(entry: AllPerformanceEntry) => null | ReplayPerformanceEntry<AllPerformanceEntryData>

0 commit comments

Comments
 (0)