File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
packages/replay-worker/src Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { handleMessage } from './handleMessage';
33addEventListener ( 'message' , handleMessage ) ;
44
55// Immediately send a message when worker loads, so we know the worker is ready
6- // @ts -expect-error this syntax is actually fine
76postMessage ( {
87 id : undefined ,
98 method : 'init' ,
Original file line number Diff line number Diff line change @@ -41,15 +41,13 @@ export function handleMessage(e: MessageEvent): void {
4141 try {
4242 // @ts -expect-error this syntax is actually fine
4343 const response = handlers [ method ] ( data ) ;
44- // @ts -expect-error this syntax is actually fine
4544 postMessage ( {
4645 id,
4746 method,
4847 success : true ,
4948 response,
5049 } ) ;
5150 } catch ( err ) {
52- // @ts -expect-error this syntax is actually fine
5351 postMessage ( {
5452 id,
5553 method,
You can’t perform that action at this time.
0 commit comments