fix(stage-ui): missing tsconfig DOM.AsyncIterable for OPFS

This commit is contained in:
Neko Ayaka
2025-12-10 15:17:59 +08:00
parent 42d735cfa2
commit 17580414c7
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ interface OPFSContext extends Live2DFactoryContext {
declare global {
interface FileSystemDirectoryHandle {
values: () => AsyncIterableIterator<FileSystemDirectoryHandle | FileSystemFileHandle>
values: () => FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>
}
}
+2 -1
View File
@@ -4,7 +4,8 @@
"jsx": "preserve",
"lib": [
"DOM",
"ESNext"
"ESNext",
"DOM.AsyncIterable"
],
"module": "ESNext",
"moduleResolution": "Bundler",