WebAssembly TypeScript type declarations.
/// <reference types="@stdlib/wasm/types"/>
import { Memory } from '@stdlib/wasm/types';
// TODO: more extensive exampleFor the complete list of declared types, see the index.d.ts type declaration file.
TODO: explicitly document exported types
-
In order to use included TypeScript declarations, configure your
tsconfig.jsonfile accordingly. For example,{ "compilerOptions": { ... "typeRoots": [ "./path/to/@stdlib/wasm/types" ], ... }, ... }