Skip to content

Reevaluate checkExternalEmitHelpers() callers #41241

@saschanaz

Description

@saschanaz

TypeScript Version: 3.7.x-dev.201xxxxx

Search Terms: importHelpers

Code

Some callers still checks against ESNext for non-esnext stable features.

https://github.com/microsoft/TypeScript/blob/94b0e0e389f5328d1e909c4efd951dbd882829f8/src/compiler/checker.ts#L31351-L31353

Expected behavior: They should check against ES20xx target.

Actual behavior: They do against ESNext

Playground Link:

Related Issues:

Metadata

Metadata

Assignees

Labels

Fix AvailableA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions