fix(ts_web): resolve TypeScript nullability and event typing issues across web components
This commit is contained in:
@@ -132,7 +132,7 @@ export class WebContainerEnvironment implements IExecutionEnvironment {
|
||||
const watcher = this.container!.fs.watch(
|
||||
path,
|
||||
{ recursive: options?.recursive ?? false },
|
||||
callback
|
||||
callback as (event: 'rename' | 'change', filename: string | Uint8Array) => void
|
||||
);
|
||||
return {
|
||||
stop: () => watcher.close(),
|
||||
|
||||
Reference in New Issue
Block a user