Created
October 19, 2023 20:52
-
-
Save Klerith/d7b24a955c714b708479ef911b0837ca to your computer and use it in GitHub Desktop.
TSConfig para paquetes de NPM
This file contains hidden or 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
Show hidden 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