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

How to handle constructors? #102

Closed
fny opened this issue Oct 8, 2020 · 1 comment
Closed

How to handle constructors? #102

fny opened this issue Oct 8, 2020 · 1 comment

Comments

@fny
Copy link

fny commented Oct 8, 2020

Looking for some guidance on this. I get a lot of errors like this:

Property 'employees' has no initializer and is not definitely assigned in the constructor. ts (2564)

Do you have a recommended work around while using the strictPropertyInitialization flag?

@GillianPerard
Copy link
Owner

Hi, I found this answer, could it help you?

microsoft/TypeScript-Vue-Starter#36 (comment)

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

No branches or pull requests

2 participants