Created
November 1, 2023 04:09
-
-
Save doclaag/e40a9d532fa2f7119691245de90cbccb to your computer and use it in GitHub Desktop.
TSConfig para paquetes de NPM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compilerOptions": { | |
// Para archivos de declaraciones | |
"outDir": "dist", | |
"target": "ES2020", | |
"declaration": true, | |
"allowJs": true, | |
"emitDeclarationOnly": false, | |
"declarationMap": false, | |
"useDefineForClassFields": true, | |
"lib": ["ES2020", "DOM", "DOM.Iterable"], | |
"module": "ESNext", | |
"skipLibCheck": true, | |
/* Bundler mode */ | |
"moduleResolution": "bundler", | |
"allowImportingTsExtensions": false, | |
"resolveJsonModule": true, | |
"isolatedModules": true, | |
"noEmit": false, | |
"jsx": "react-jsx", | |
/* Linting */ | |
"strict": true, | |
"noUnusedLocals": true, | |
"noUnusedParameters": true, | |
"noFallthroughCasesInSwitch": true | |
}, | |
"include": ["src"], | |
// "references": [{ "path": "./tsconfig.node.json" }] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment