Skip to content

Cannot use Array.includes() in base/platform? #102566

@bpasero

Description

@bpasero

What is the reasoning behind not allowing Array.includes via the Monaco standalone editor checks? It seems to be valid ES6 when I look at where it is defined:

https://github.com/microsoft/vscode/blob/4855013f5e971b94ffd4a6816446c717c82ff29a/node_modules/typescript/lib/lib.es2016.array.include.d.ts#L27

Metadata

Metadata

Labels

debtCode quality issuesengineeringVS Code - Build / issue tracking / etc.insiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions