diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 12f051c69..9a69b7180 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -19144,7 +19144,7 @@ declare namespace WebAssembly { function compileStreaming(source: Response | Promise): Promise; function instantiate(bytes: BufferSource, importObject?: Imports): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; - function instantiateStreaming(source: Response | Promise, importObject?: any): Promise; + function instantiateStreaming(response: Response | PromiseLike, importObject?: Imports): Promise; function validate(bytes: BufferSource): boolean; } diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 79b62e505..ae58a1fbc 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -5689,7 +5689,7 @@ declare namespace WebAssembly { function compileStreaming(source: Response | Promise): Promise; function instantiate(bytes: BufferSource, importObject?: Imports): Promise; function instantiate(moduleObject: Module, importObject?: Imports): Promise; - function instantiateStreaming(source: Response | Promise, importObject?: any): Promise; + function instantiateStreaming(response: Response | PromiseLike, importObject?: Imports): Promise; function validate(bytes: BufferSource): boolean; } diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 948ecd122..9bfed6932 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -3218,6 +3218,16 @@ "type": "Imports" } ] + }, + "instantiateStreaming": { + "override-signatures": [ + "instantiateStreaming(response: Response | PromiseLike, importObject?: Imports): Promise" + ], + "force-references": [ + { + "type": "Imports" + } + ] } } }