fix(ts_web): resolve TypeScript nullability and event typing issues across web components

This commit is contained in:
2026-04-01 05:00:21 +00:00
parent b1c8a7446e
commit af1f660486
78 changed files with 429 additions and 399 deletions

View File

@@ -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(),