Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleFeud opened this issue Jun 24, 2021 · 0 comments · May be fixed by #26
Open

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

GoogleFeud opened this issue Jun 24, 2021 · 0 comments · May be fixed by #26

Comments

@GoogleFeud
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant