- Make sure you have tide installed and setup
npm init -y
to setup apackage.json
(we need this as we install dependencies usingnpm
)npm install --save-dev typescript-deno-plugin typescript
as described in typescript-deno-plugin repo- finally, add the following to your
tsconfig.json
to enable thetypescript-deno-plugin
{ "compilerOptions": { "plugins": [{ "name": "typescript-deno-plugin", "enable": true, // default is `true` "importmap": "import_map.json" }] } }
With this in place, tide
will function just as expected with a codebase targeted to Deno
as it does with a normal TypeScript
project.