-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
61 lines (47 loc) · 1.54 KB
/
Copy pathtsconfig.json
File metadata and controls
61 lines (47 loc) · 1.54 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
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"compilerOptions": {
// Allow JavaScript files to be included in the project
"allowJs": true,
// Enable type checking of JavaScript files
"checkJs": true,
// Generate .d.ts files for JavaScript files
"declaration": true,
// Allow default imports from modules with no default export
"allowSyntheticDefaultImports": true,
// Specify ECMAScript target version
"target": "ES2020",
// Specify module code generation
"module": "NodeNext",
// Add type definitions for built-in JS APIs
"lib": ["ES2020", "DOM"],
// Enable strict type checking
"strict": true,
// Allow importing .js files with type information
"moduleResolution": "NodeNext",
// Base directory to resolve non-relative module names
"baseUrl": "./",
// Output directory for compiled files
"outDir": "./dist",
// Skip type checking of declaration files
"skipLibCheck": true,
// Ensure consistent casing in file names
"forceConsistentCasingInFileNames": true,
// Allow importing JSON files
"resolveJsonModule": true,
// Enable source maps for debugging
"sourceMap": true
},
"include": [
"src/**/*.js", // Include JavaScript files
"src/**/*.jsx", // Include JSX files if you're using React
"src/**/*.ts", // Include TypeScript files
"src/**/*.d.ts" // Include TypeScript declaration files
],
"exclude": ["node_modules", "dist"],
"compilerOptions": {
"paths": {
"k6/http": ["./src/types/k6-http.d.ts"],
"k6": ["./src/types/k6.d.ts"]
}
}
}