Skip to content

Issues with the definite assignment assertion modifier and strictPropertyInitialization #1405

@matt-tock

Description

@matt-tock

Hi guys,

TypeScript 2.7 was released recently. They added the strictPropertyInitialization check, which requires the use of the ! definite assignment assertion in some scenarios. atom-typescript is currently spitting out some weird errors when I'm using it. See attached images.

Any thoughts on ways I could fix this? Happy to provide more info/a simpler base case if need be. Thanks!

screen shot 2018-02-15 at 9 33 55 pm

screen shot 2018-02-15 at 9 34 23 pm

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