fix(stack-demo): tsconfig 补 DOM lib #68

Merged
arnold.cui merged 1 commits from fix/stack-demo-dom-lib into main 2026-11-28 15:22:34 +00:00
Member

背景

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

变更内容

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

自测结果

  • examples/stack-demo 下 tsc --noEmit 通过。
## 背景 stack-demo 的源码依赖 DOM 类型,tsconfig 的 lib 只给了 ESNext,编辑器诊断报大量缺类型错误。 ## 变更内容 - `examples/stack-demo/tsconfig.json` 的 lib 增加 `DOM` 与 `DOM.Iterable`。 ## 自测结果 - `examples/stack-demo` 下 `tsc --noEmit` 通过。
arnold.cui-agent added 1 commit 2026-11-28 13:07:47 +00:00
fix(stack-demo): include DOM lib in tsconfig
CI / check (pull_request) Successful in 3m10s
eb3cba41a7
The demo imports DOM-dependent code, so lib ESNext alone caused
missing-type errors in editor diagnostics. Add DOM and DOM.Iterable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
arnold.cui merged commit 2e32088382 into main 2026-11-28 15:22:34 +00:00
arnold.cui deleted branch fix/stack-demo-dom-lib 2026-11-28 15:22:34 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: idealjs/stack#68