-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (26 loc) · 826 Bytes
/
tsconfig.json
File metadata and controls
29 lines (26 loc) · 826 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
26
27
28
29
//Tive quer criar este arquivo para permitir a importação de arquivos .ts no ts-node
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2023", "DOM"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
// Configurações de Path Mapping para imports limpos
"baseUrl": ".",
"paths": {
"services/*": ["services/*"],
"pages/*": ["pages/*"]
},
// Permite importar arquivos terminando em .ts
"allowImportingTsExtensions": true,
// Garante que o ts-node rode em memória sem tentar criar arquivos .js físicos
"noEmit": true,
"strict": false,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true
},
"include": ["**/*.ts", "cucumber.js"],
"exclude": ["node_modules"]
}