generated from laxmanpokhrel/xmanscript-npm-package-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
25 lines (25 loc) · 756 Bytes
/
tsconfig.json
File metadata and controls
25 lines (25 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"compilerOptions": {
"target": "ES6",
"module": "CommonJS",
"declaration": true,
"sourceMap": true,
"outDir": "./lib",
"strict": true,
"lib": ["ES2020", "DOM"],
"removeComments": false,
"jsx": "react", // Make sure this option is set to "react"
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true // You can set this to true
},
"exclude": ["node_modules"],
"include": ["src/**/*.ts", "src/**/*.tsx"] // Update the path to include .tsx files
}