Skip to content

fix: "Property X will overwrite the base property in Y" typescript error #25

@GoogleFeud

Description

@GoogleFeud

In Typescript 3.7 the declare keyword was added as a property modifier to specify that an inherited class property should have no initializer.

Seems like something in Typescript 4.3 made the change breaking, and now these fields must be either initialized or prefixed with the declare keyword.

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