Skip to content

Align "target" field in tsconfig.json files #10824

Closed

Description

@web-padawan

Description of the bug / feature

Currently there are several tsconfig.json files in the Flow repository which specify a target:

"target": "es2015",

See also https://vaadin.slack.com/archives/CHPCTB0BY/p1619090667015300

Suggested change

Update target in all of these tsconfig.json files to allow using modern JS features.
The version that we use has to be figured out. One possible option is es2019.

This covers some proposals available since Safari 13.1:

Expected behavior

The target field in the tsconfig.json files used / created by Flow is aligned.

Actual behavior

The target fields are not consistent and don't allow to use some modern JS features.

Versions

  • Vaadin / Flow version: 21.0

Activity

  1. added 2 commits that reference this issue on May 4, 2021
    6d43731
    ba9d2cc
  2. added a commit that references this issue on May 10, 2021
    d431257
  3. added a commit that references this issue on May 18, 2021
    ecde789
  4. vaadin-bot commented on Sep 9, 2021

    @vaadin-bot
    Collaborator

    This ticket/PR has been released with platform 21.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions