Skip to content

Commit 0687544

Browse files
Fix the declaration of the instantiate function
1 parent a2f5f07 commit 0687544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugins/PackageToJS/Templates/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export declare const MODULE_PATH: string;
3636
* @param imports - The imports to add
3737
* @param options - The options
3838
*/
39-
/* export */ function createInstantiator(
39+
/* export */ declare function createInstantiator(
4040
imports: Import,
4141
options: {} | undefined
4242
): Promise<Instantiator>
@@ -49,7 +49,7 @@ export declare const MODULE_PATH: string;
4949
* @param imports - The imports to add
5050
* @param options - The options
5151
*/
52-
export function instantiate(
52+
export declare function instantiate(
5353
moduleSource: WebAssembly.Module | Response | PromiseLike<Response>,
5454
imports: Import,
5555
options: {} | undefined

0 commit comments

Comments
 (0)