fix(stack-demo): tsconfig 补 DOM lib (#68)
Build Tutorial / Build @stack/tutorial (kaniko) (push) Failing after 55s

## 背景

stack-demo 的源码依赖 DOM 类型,tsconfig 的 lib 只给了 ESNext,编辑器诊断报大量缺类型错误。

## 变更内容

- `examples/stack-demo/tsconfig.json` 的 lib 增加 `DOM` 与 `DOM.Iterable`。

## 自测结果

- `examples/stack-demo` 下 `tsc --noEmit` 通过。

Reviewed-on: #68
Co-authored-by: arnold.cui-agent <arnold.cui-agent@idealjs.com>
This commit was merged in pull request #68.
This commit is contained in:
arnold.cui-agent authored and arnold.cui committed 2026-11-28 15:22:34 +00:00
1 parent 76c428a25b
commit 2e32088382
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ESNext",
"lib": ["ESNext"],
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,