Skip to content

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

Closed
@jakeNiemiec

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

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