Skip to content

[vue-tsc] ArrayIterator type not working even with dom.iterable lib #5374

@victorgarciaesgi

Description

@victorgarciaesgi

Vue - Official extension or vue-tsc version

2.2.10

VSCode version

1.100.1

Vue version

3.5.13

TypeScript version

5.7.2

System Info

Code sandbox env (see repro)

package.json dependencies

see repro

Steps to reproduce

Run pnpm run typecheck in the repro. In the editor no error is reported, but in the CLI vue-tsc reports error.
Tried with every es*.iterable or es*.AsyncIterable lib

What is expected?

I expect the iterator lib to be loaded when calling vue-tsc cli

What is actually happening?

Link to minimal reproduction

https://codesandbox.io/p/devbox/qpxk2l

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions