Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Type Declarations

WebAssembly TypeScript type declarations.

Usage

/// <reference types="@stdlib/wasm/types"/>

import { Memory } from '@stdlib/wasm/types';

// TODO: more extensive example

For the complete list of declared types, see the index.d.ts type declaration file.

TODO: explicitly document exported types

Notes

  • In order to use included TypeScript declarations, configure your tsconfig.json file accordingly. For example,

    {
      "compilerOptions": {
        ...
        "typeRoots": [ "./path/to/@stdlib/wasm/types" ],
        ...
      },
      ...
    }