Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WebAssembly

Index

Type aliases

ExportValue

ExportValue: Function | Global | Memory | Table

Exports

Exports: Record<string, ExportValue>

ImportExportKind

ImportExportKind: "function" | "global" | "memory" | "table"

ImportValue

ImportValue: ExportValue | number

Imports

Imports: Record<string, ModuleImports>

ModuleImports

ModuleImports: Record<string, ImportValue>

TableKind

TableKind: "anyfunc"

ValueType

ValueType: "f32" | "f64" | "i32" | "i64"

Variables

CompileError

CompileError: { constructor: any; prototype: CompileError }

Type declaration

Global

Global: { constructor: any; prototype: Global }

Type declaration

Instance

Instance: { constructor: any; prototype: Instance }

Type declaration

LinkError

LinkError: { constructor: any; prototype: LinkError }

Type declaration

  • constructor: function
    • Returns LinkError

  • prototype: LinkError

Memory

Memory: { constructor: any; prototype: Memory }

Type declaration

Module

Module: { constructor: any; prototype: Module; customSections: any; exports: any; imports: any }

Type declaration

RuntimeError

RuntimeError: { constructor: any; prototype: RuntimeError }

Type declaration

Table

Table: { constructor: any; prototype: Table }

Type declaration

Functions

compile

compileStreaming

instantiate

instantiateStreaming

validate

  • Parameters

    Returns boolean

Generated using TypeDoc