Skip to content

vNext: use ES2016 or even later standard in tsconfigs target/lib #19367

@Hotell

Description

@Hotell

Story 🧚‍♀️:

As vNext will not support IE11 and thus we will support only evergreen browsers, we can start using latest ECMA lang features. For now we decided to use target: ES2015/lib: ['ES2015'] #19039

Actual behavior:

We are using ECMA lang features beyond ES2015.

  • Array.prototype.includes (ES2016)
  • TBA

Expected behavior:

  • bump to target/lib: ES2020

Tasks

  • update migration generator / feat(tools): set target and lib to ES2020 #19398
  • update all vNext pacakges by runnin yarn nx workspace-generator migrate-converged-pkg --all
  • update just-scripts ts
    • vNext packages should consume their tsconfig instead of overrides used in just-scripts ts task

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions