1.25.0 • Published 3 years ago
deno-types v1.25.0
Deno Types
This package contains all the Deno. types extracted from the original Deno
repository. This is useful if you wish to bundle code without using
deno bundle. Or if you would like completions in your IDE without using a Deno
plugin.
Usage
npm i -D deno-typesThen in your tsconfig.json add this package to your typeRoots. For instance:
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"target": "esnext",
"typeRoots": [
"./node_modules/@types",
"./node_modules/deno-types"
],
"module": "esnext"
},
"files": ["src/main.js"],
"include": ["src/**/*.js"]
}