fix(tutorial): declare node types in tsconfig
stack.config.ts uses node:fs, node:path and process, but tsconfig.json did not include node types, causing TS2591 errors and an implicit any in editor diagnostics. Add types: ["node"], matching the convention in web-runner and stack. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
ec22586d36
commit
0f229c8e07
1 file changed
+1
@@ -10,6 +10,7 @@
|
||||
"isolatedModules": true,
|
||||
"moduleDetection": "force",
|
||||
"noEmit": true,
|
||||
"types": ["node"],
|
||||
"jsx": "react-jsx",
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
|
||||
Reference in new issue
Block a user