Skip to content

Evolving arrays don't work in JS #993

Open
@jakebailey

Description

@jakebailey
const foo = []

for (let i = 0; i < 10; i++) {
    foo.push(i)
}

console.log(foo)

Nets:

Argument of type 'number' is not assignable to parameter of type 'never'. ts(2345)

Image

Metadata

Metadata

Assignees

Labels

Domain: JSRelated to JS parsing, checking

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions