Skip to content

RC.0 migration guide: IDEs will throw error without a target #5189

Description

@jakeNiemiec

The Typescript service will throw: Accessors are only available when targeting ECMAScript 5

image

The root level tsconfig.json needs any "target" over ES5 and Typescript will stop throwing errors. e.g.:
"target": "es5",

Wiki diff:
https://github.com/jakeNiemiec/angular-cli/wiki/stories-rc.0-update/_compare/efe56cf9b6e19be290a2404527ee8f65b577106a...ee9348c302d1ea6e64f43ea7c157342cfb4d8d18

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions