qilpQ
Deno13mo ago
qilp

Support implicit package imports?

Hey, is there a way (currently, or in the near future) to make Deno support implicit package imports like the this one:
const createApp: typeof import('../../../node_modules/.deno/h3@1.13.0/node_modules/h3')['createApp']

^ This is a part of the auto-generated
.d.ts
file by Nuxt.
This is a correctly resolved path for Node/TS, but it's not the case in Deno.

I would like to be 100% sure it's not supported / not going to be supported by Deno, before attempting to get rid of nitro auto imports entirely.
Was this page helpful?