How to import Definitely Typed modules into Deno project?
I'm trying to include a definitely typed module into the deno project, so that the types are available globally.
In this case, I'm trying to include @types/three and I've tried various ideas including:
But that doesn't seem to be working. I'm not trying to include the three.js codebase, only the types.
Any idea on how to do this properly?
1 Reply
This solved my problem: https://stackoverflow.com/questions/74005494/how-to-include-definitely-typed-library-to-my-deno-project/74005693#comment130669158_74005693
Stack Overflow
How to include Definitely Typed library to my deno project?
How do I use the deno's node compatibility mode with definitely typed modules? I tried this but that didn't seem to work as intended.
/// <reference types='npm:@types/three' />
I simply want...