kemicofaK
Denoβ€’4y agoβ€’
1 reply
kemicofa

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:

/// <reference types='npm:@types/three' />


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?
Was this page helpful?