Closed cwgoes closed 4 years ago
Thanks for trying it out! What you are doing should work - but 2 thoughts:
lib.dom.d.ts
file which contains the declaration for WebAssembly
namespace. I'm using VS Code and in my case the file lives under ...\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\lib.dom.d.ts
.vscode/tasks.json
file). If you are using something else, you might need to install Gulp CLI (e.g. npm install --global gulp-cli
).Let me know if any of this helps. If not, we can troubleshoot further.
Of course, if you just want to use the library in a project - you don't need to compile it. Just pull it from NPM and use it the same way as shown in the example here.
I had previously been using Typescript 3.4.x
, upgraded to 3.6.3
which fixed the issue, thanks.
Thanks for the library; looks very interesting.
From a fresh Git clone, after
npm install
,tsc -p .
fails with:I am running
node
versionv12.10.0
.Any ideas? I could try a global declaration in
global.d.ts
or the like:but I would have to modify the dependencies as well.
Presumably I have simply misconfigured something locally.