Skip to content

Commit e810d42

Browse files
committed
chore: configure tsgo (native TypeScript preview) for VS Code
1 parent 3ec29b9 commit e810d42

File tree

4 files changed

+78
-3
lines changed

4 files changed

+78
-3
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
2-
"typescript.tsdk": "node_modules/typescript/lib",
2+
"typescript.tsdk": "node_modules/@typescript/native-preview/lib",
3+
"typescript.enablePromptUseWorkspaceTsdk": true,
34
// Disable formatting for SQL files
45
"[sql]": {
56
"editor.formatOnSave": false,

apps/builder/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
],
1414

1515
"paths": {
16-
"~/*": ["app/*"]
16+
"~/*": ["./app/*"]
1717
},
18-
"baseUrl": ".",
1918
"declaration": false,
2019
"emitDeclarationOnly": false,
2120
"declarationDir": null,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@storybook/react-vite": "^8.6.4",
4040
"@types/node": "^22.13.10",
4141
"@types/react": "^18.2.70",
42+
"@typescript/native-preview": "7.0.0-dev.20260120.1",
4243
"esbuild": "^0.25.3",
4344
"eslint": "^9.22.0",
4445
"eslint-plugin-react-hooks": "^5.2.0",

pnpm-lock.yaml

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)