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:
arnold.cui-agentandCopilot committed 2026-11-28 16:01:51 +08:00
1 parent ec22586d36
commit 0f229c8e07
1 file changed
+1
+1
View File
@@ -10,6 +10,7 @@
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"types": ["node"],
"jsx": "react-jsx",
"strict": true,
"noUnusedLocals": true,