Skip to content

Commit d27376a

Browse files
committed
typescript 7.0 (tsgo)
1 parent 6494e44 commit d27376a

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"dbaeumer.vscode-eslint",
55
"usernamehw.errorlens",
66
"mikestead.dotenv",
7-
"styled-components.vscode-styled-components"
7+
"styled-components.vscode-styled-components",
8+
"typescriptteam.native-preview"
89
]
910
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.experimental.useTsgo": true
3+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"dev": "vite build --mode dev",
7-
"build": "tsc -b && vite build",
7+
"build": "tsgo -b && vite build",
88
"lint": "eslint .",
99
"format": "prettier --write .",
1010
"commit": "npm run lint && npm run format && npm run build",
@@ -18,6 +18,7 @@
1818
"@eslint/js": "^9.29.0",
1919
"@linaria/core": "^6.3.0",
2020
"@types/node": "^24.0.3",
21+
"@typescript/native-preview": "^7.0.0-dev.20251203.1",
2122
"@vanilla-extract/css": "^1.17.5",
2223
"@vanilla-extract/vite-plugin": "^5.1.3",
2324
"@wyw-in-js/babel-preset": "^0.7.0",
@@ -30,7 +31,6 @@
3031
"prettier": "3.5.3",
3132
"prettier-plugin-organize-imports": "^4.1.0",
3233
"sass-embedded": "^1.89.2",
33-
"typescript": "^5.8.3",
3434
"typescript-eslint": "^8.34.1",
3535
"typescript-plugin-css-modules": "^5.1.0",
3636
"vite": "^7.2.4"

tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
"erasableSyntaxOnly": true,
3131
"noFallthroughCasesInSwitch": true,
3232
"noUncheckedSideEffectImports": true,
33-
"baseUrl": ".",
3433
"paths": {
35-
"src/*": ["src/*"],
36-
"styles/*": ["styles/*"],
37-
"themes/*": ["themes/*", "themes/*.css"]
34+
"*": ["./*"],
35+
"src/*": ["./src/*"],
36+
"styles/*": ["./styles/*"],
37+
"themes/*": ["./themes/*", "./themes/*.css"]
3838
}
3939
},
4040
"include": ["src", "styles", "themes", "vite.config.ts"]

0 commit comments

Comments
 (0)