Skip to content

Commit 5df1f4f

Browse files
committed
chore: update api tsconfig
1 parent c6bebf3 commit 5df1f4f

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

packages/agent-api/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@
1010
"rootDir": ".",
1111
"sourceMap": true,
1212
"strict": true,
13+
"noUnusedLocals": true,
14+
"noUnusedParameters": true,
15+
"noImplicitReturns": true,
16+
"noImplicitOverride": true,
1317
"moduleResolution": "node",
1418
"esModuleInterop": true,
1519
"lib": ["ESNext"]
16-
}
20+
},
21+
"include": ["src/**/*.ts"]
1722
}

packages/burger-api/tsconfig.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "es6",
3+
"module": "CommonJS",
4+
"target": "ESNext",
5+
"incremental": true,
6+
"skipLibCheck": true,
7+
"forceConsistentCasingInFileNames": true,
58
"outDir": "dist",
69
"rootDir": ".",
710
"sourceMap": true,
@@ -10,8 +13,10 @@
1013
"noUnusedParameters": true,
1114
"noImplicitReturns": true,
1215
"noImplicitOverride": true,
16+
"moduleResolution": "node",
1317
"esModuleInterop": true,
14-
"resolveJsonModule": true
18+
"resolveJsonModule": true,
19+
"lib": ["ESNext"]
1520
},
1621
"include": ["src/**/*.ts"]
1722
}

0 commit comments

Comments
 (0)