File tree 3 files changed +4
-4
lines changed
Plugins/PackageToJS/Templates
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import type { InstantiateOptions , ModuleSource } from "../instantiate.js"
2
2
3
- export async function defaultBrowserSetup ( options : {
3
+ export function defaultBrowserSetup ( options : {
4
4
module : ModuleSource ,
5
5
/* #if IS_WASI */
6
6
args ?: string [ ] ,
Original file line number Diff line number Diff line change 1
1
import type { InstantiateOptions } from "../instantiate.js"
2
2
import type { Worker } from "node:worker_threads"
3
3
4
- export async function defaultNodeSetup ( options : {
4
+ export function defaultNodeSetup ( options : {
5
5
/* #if IS_WASI */
6
6
args ?: string [ ] ,
7
7
/* #endif */
Original file line number Diff line number Diff line change 1
1
import type { InstantiateOptions , instantiate } from "./instantiate" ;
2
2
3
- export async function testBrowser (
3
+ export function testBrowser (
4
4
options : {
5
5
preludeScript ?: string ,
6
6
args ?: string [ ] ,
7
7
}
8
8
) : Promise < number >
9
9
10
- export async function testBrowserInPage (
10
+ export function testBrowserInPage (
11
11
options : InstantiateOptions
12
12
) : ReturnType < typeof instantiate >
You can’t perform that action at this time.
0 commit comments