aboutsummaryrefslogtreecommitdiff
path: root/JS.md
diff options
context:
space:
mode:
authorNidin Vinayakan <01@01alchemist.com>2017-04-21 07:57:59 +0200
committerJF Bastien <github@jfbastien.com>2017-04-20 22:57:59 -0700
commitb763aedd52dcc69adbbe3f3344b8356f05a91f3d (patch)
treed733f8c29a1f217e8baa6124ca15d00c9b1cdfb0 /JS.md
parent736c903c726189ed99596735e4a66ac734b1ea23 (diff)
downloadnanowasm-design-b763aedd52dcc69adbbe3f3344b8356f05a91f3d.tar.gz
WebAssembly JS API declaration file for TypeScript added (#1029)
Diffstat (limited to 'JS.md')
-rw-r--r--JS.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/JS.md b/JS.md
index ca52804..fb1bcc7 100644
--- a/JS.md
+++ b/JS.md
@@ -7,6 +7,8 @@ be loaded and run directly from an HTML `<script type='module'>` tag—and
any other Web API that loads ES6 modules via URL—as part of
[ES6 Module integration](Modules.md#integration-with-es6-modules).)
+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.
+
## Traps
Whenever WebAssembly semantics specify a [trap](Semantics.md#traps),