chiark / gitweb /
Compiles and runs
authorWink Saville <wink@saville.com>
Sat, 1 Apr 2017 21:56:58 +0000 (14:56 -0700)
committerWink Saville <wink@saville.com>
Sat, 1 Apr 2017 21:56:58 +0000 (14:56 -0700)
commit1e792f39d2c009445ae7ce8eb6efbcebe8959f9d
tree7a91f4d46f470fbb50dc89b8d39e878a59eec784
parentf2d788fb747e9b6083da68c7b90044c2721ec0bc
Compiles and runs

Added tsconfig.base.json with stricter settings which found one error
in where instantiateFile filePath parameter wasn't being used.

The "fix" was to use separate promise chain into separate variables each
with the appropriate type. My best guess is that the overloaded
instantiate confused the compiler and the inferencing wasn't working.
test/tsconfig.json
test/wasm.js
test/wasm.js.map [new file with mode: 0644]
test/wasm.ts
tsconfig.base.json [new file with mode: 0644]