4 ms·
Thanks for doing this. I have a few questions regarding packages/dependencies, and TypeScript in general. I tried installing Deno, and I tried including a pack
by ralusek 6y ago
Thanks for doing this. I have a few questions regarding packages/dependencies, and TypeScript in general.
I tried installing Deno, and I tried including a package, and immediately the TypeScript typechecking in my IDE (VSCode) failed, of course. The IDE doesn't know what to do with a URL as a dependency. Is this something Deno will be able to handle?
The next question is that TypeScript packages I have written in the past use `baseUrl` and `paths` in their own configs to allow for absolute import paths. When I look at third-party Deno repositories, I didn't see any that were building out to JS/declaration files, and were instead just meant to be included as the original TypeScript source code. Won't this break things like absolute import paths and other behaviors of the dependency's own tsconfig file, or does this work fine with Deno/TS?
- brlewis 6y agohttps://stackoverflow.com/questions/54794933/how-to-pull-typings-in-deno https://stackoverflow.com/questions/54794933/how-to-pull-typ... Looks like there's a plug-in. Can't research much now, but I hope there's something like that for emacs tide.
- brlewis 6y agoI think for emacs/tide I'll just be able to follow the instructions for Atom here: https://github.com/justjavac/typescript-deno-plugin https://github.com/justjavac/typescript-deno-plugin
- aralroca 6y agoFor VSCode there is recommended this: * https://marketplace.visualstudio.com/items?itemName=axetroy.vscode-deno https://marketplace.visualstudio.com/items?itemName=axetroy....
- adrianhel 6y agoIt's an unstable feature, but you can use import maps with Deno.