-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
48 lines (48 loc) · 1.22 KB
/
tsconfig.json
File metadata and controls
48 lines (48 loc) · 1.22 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"compilerOptions": {
"target": "es5",
// Target ECMAScript version
"lib": [
"dom",
"dom.iterable",
"esnext"
],
// Libraries to include in the compilation
"allowJs": true,
// Allow JavaScript files to be compiled
"skipLibCheck": true,
// Skip type checking of declaration files
"strict": true,
// Enable all strict type-checking options
"forceConsistentCasingInFileNames": true,
// Enforce consistent casing in filenames
"noEmit": true,
// Do not emit output files
"esModuleInterop": true,
// Enable emit interoperability between CommonJS and ES Modules
"module": "esnext",
// Module code generation
"moduleResolution": "node",
// Module resolution strategy
"resolveJsonModule": true,
// Allow importing JSON files
"isolatedModules": true,
// Ensure that each file can be safely transpiled
"jsx": "react-jsx",
"typeRoots": [
"./node_modules/telegram-webapps"
]
},
"include": [
"src"
// Include the source files
],
"exclude": [
"node_modules",
// Exclude node_modules
"**/*.test.ts",
// Exclude test files (optional)
"**/*.test.tsx"
// Exclude test files (optional)
]
}