deno-types
TypeScript icon, indicating that this package has built-in type declarations

1.25.0 • Public • Published

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-types

Then 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"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i deno-types

Weekly Downloads

11

Version

1.25.0

License

none

Unpacked Size

309 kB

Total Files

3

Last publish

Collaborators

  • jespertheend