Skip to content

Type Alias: InitSource ​

InitSource = Uint8Array | ArrayBuffer | string | object

Defined in: runtime.ts:19

What init() can instantiate from: raw bytes, a WebAssembly.Module, a Response (or promise of one), or a URL. Typed loosely (object) so consumers need neither the DOM nor WebAssembly typings.

Apache-2.0.