DenoDDeno
Powered by
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' />
/// <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?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to import qstash into deno edge function?
davecancodeDdavecancode / help
2y ago
Importing deno modules with import maps
sachawSsachaw / help
2y ago
Node.JS project to import Deno project in a workspace
gbaranskiGgbaranski / help
17mo ago