File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Plugins/PackageToJS/Templates Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import type { InstantiateOptions , ModuleSource } from "../instantiate.js"
22
3- export async function defaultBrowserSetup ( options : {
3+ export function defaultBrowserSetup ( options : {
44 module : ModuleSource ,
55/* #if IS_WASI */
66 args ?: string [ ] ,
Original file line number Diff line number Diff line change 11import type { InstantiateOptions } from "../instantiate.js"
22import type { Worker } from "node:worker_threads"
33
4- export async function defaultNodeSetup ( options : {
4+ export function defaultNodeSetup ( options : {
55/* #if IS_WASI */
66 args ?: string [ ] ,
77/* #endif */
Original file line number Diff line number Diff line change 11import type { InstantiateOptions , instantiate } from "./instantiate" ;
22
3- export async function testBrowser (
3+ export function testBrowser (
44 options : {
55 preludeScript ?: string ,
66 args ?: string [ ] ,
77 }
88) : Promise < number >
99
10- export async function testBrowserInPage (
10+ export function testBrowserInPage (
1111 options : InstantiateOptions
1212) : ReturnType < typeof instantiate >
You can’t perform that action at this time.
0 commit comments