Skip to content

Commit b763aed

Browse files
nidinjfbastien
authored andcommitted
WebAssembly JS API declaration file for TypeScript added (#1029)
1 parent 736c903 commit b763aed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

JS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ be loaded and run directly from an HTML `<script type='module'>` tag—and
77
any other Web API that loads ES6 modules via URL—as part of
88
[ES6 Module integration](Modules.md#integration-with-es6-modules).)
99

10+
WebAssembly JS API declaration file for TypeScript can be found [here](https://github.com/01alchemist/webassembly-types/blob/master/webassembly.d.ts) which enable autocompletion and make TypeScript compiler happy.
11+
1012
## Traps
1113

1214
Whenever WebAssembly semantics specify a [trap](Semantics.md#traps),

0 commit comments

Comments
 (0)