File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
435
435
/** @inheritdoc */
436
436
public emit ( hook : string , ...rest : unknown [ ] ) : void {
437
437
if ( this . _hooks [ hook ] ) {
438
- // @ts -expect-error we cannot enforce the callback to match the hook
439
438
this . _hooks [ hook ] . forEach ( callback => callback ( ...rest ) ) ;
440
439
}
441
440
}
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import type {
14
14
} from '../types' ;
15
15
16
16
// Map entryType -> function to normalize data for event
17
- // @ts -expect-error TODO: entry type does not fit the create* functions entry type
18
17
const ENTRY_TYPES : Record <
19
18
string ,
20
19
( entry : AllPerformanceEntry ) => null | ReplayPerformanceEntry < AllPerformanceEntryData >
You can’t perform that action at this time.
0 commit comments