chiark / gitweb /
As an experiment change WebAssembly.Module to a class
authorWink Saville <wink@saville.com>
Sat, 1 Apr 2017 17:16:44 +0000 (10:16 -0700)
committerWink Saville <wink@saville.com>
Sat, 1 Apr 2017 17:16:44 +0000 (10:16 -0700)
commitcd591d20513f1b4b9015c4281fb4f11cf7c9f3e1
treeb74aefe99d01eed588dc01eafd9ac7c30be481ad
parent396e9ae75d4f417410897f9fc3ac808aa31ccce6
As an experiment change WebAssembly.Module to a class

Close but it's not compiling I get the following error:
```
$ yarn test
yarn test v0.21.3
$ tsc -p test/tsconfig.json
test/wasm.ts(136,3): error TS2322: Type 'ResultObject' is not assignable to type 'Instance'.
  Property 'exports' is missing in type 'ResultObject'.
error Command failed with exit code 2.
```
webassembly.d.ts