@tsconfig/deno
v1.0.11
Published
A base TSConfig for working with Deno.
Downloads
441
Readme
A base TSConfig for working with Deno.
Add the package to your "devDependencies"
:
npm install --save-dev @tsconfig/deno
yarn add --dev @tsconfig/deno
Add to your tsconfig.json
:
"extends": "@tsconfig/deno/tsconfig.json"
The tsconfig.json
:
{
// This is based on https://deno.land/manual/getting_started/typescript#custom-typescript-compiler-options
// then the defaults are removed.
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"jsx": "react",
"lib": [],
"resolveJsonModule": true,
"strict": true
}
}
You can find the code here.