Skip to content

experimentalDecorators in Visual Studio #3934

Closed
@jamiewinder

Description

@jamiewinder

Hi. Great to see TS 1.5 finally released! Quick question which doesn't seem to be covered by the announcement / blog posts:

I see decorators have been hidden behind a compiler flag (experimentalDecorators). How can I specify this for a Visual Studio project? Guessing the answer is a tsconfig.json file, but after dropping one into the root of my project it still doesn't appear to pick it up:

{
    "compilerOptions": {
        "target": "ES5",
        "module": "system",
        "experimentalDecorators": true
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions