Skip to content

Commit a1dc9e5

Browse files
committed
fix: adjust tsconfigs for TypeScript 6 compatibility
1 parent 2398610 commit a1dc9e5

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

apps/synapse-playground/tsconfig.app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"noEmit": true,
99
"jsx": "react-jsx",
1010

11-
"baseUrl": ".",
1211
"paths": {
1312
"@filoz/synapse-core": ["../../packages/synapse-core/src"],
1413
"@filoz/synapse-react": ["../../packages/synapse-react/src"],

apps/synapse-playground/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"files": [],
33
"references": [{ "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }],
44
"compilerOptions": {
5-
"baseUrl": ".",
65
"paths": {
76
"@/*": ["./src/*"]
87
}

examples/cli/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"noEmit": true,
5-
"outDir": "./dist"
5+
"outDir": "./dist",
6+
"types": ["node"]
67
},
78
"include": ["src", "package.json"],
89
"exclude": ["node_modules", "dist"],

packages/synapse-core/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"outDir": "./dist"
4+
"outDir": "./dist",
5+
"types": ["mocha", "node", "chai"]
56
},
67
"include": ["src", "test"],
78
"exclude": ["node_modules", "dist"],

packages/synapse-sdk/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"outDir": "./dist"
4+
"outDir": "./dist",
5+
"types": ["mocha", "node", "chai"]
56
},
67
"include": ["src/**/*", "package.json", "../synapse-core/src/utils/epoch.ts", "../synapse-core/test/epoch.test.ts"],
78
"exclude": ["node_modules", "dist"],

0 commit comments

Comments
 (0)