feat: use compileStreaming when loading wasm parsers
This commit is contained in:
parent
b75196bb81
commit
9b23cd5394
5 changed files with 30 additions and 27 deletions
|
|
@ -247,7 +247,7 @@ fn build_wasm(cmd: &mut Command, edit_tsd: bool) -> Result<()> {
|
|||
"undefined, localScope?: any | undefined, handle?: number | undefined): any"
|
||||
),
|
||||
concat!(
|
||||
"loadWebAssemblyModule(binary: Uint8Array, flags: Record<string, boolean>,",
|
||||
"loadWebAssemblyModule(binary: Uint8Array | WebAssembly.Module, flags: Record<string, boolean>,",
|
||||
" libName?: string, localScope?: Record<string, unknown>, handle?: number):",
|
||||
" Promise<Record<string, () => number>>"
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue