You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
tsc puts "Property 'alarmsUpdated' has no initializer and is not definitely assigned in the constructor." when encountering the @Event() alarmsUpdated: EventEmitter<Alarm[]> declaration.
The workaround is to declare the event as @Event() alarmsUpdated: EventEmitter<Alarm[]>! (i.e., with a non-null operator at the end) or turn off strictPropertyInitialization in tsconfig. Props to Mark Cianfrani on Slack for the solution.
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request
Current behavior:
tsc puts "Property 'alarmsUpdated' has no initializer and is not definitely assigned in the constructor." when encountering the
@Event() alarmsUpdated: EventEmitter<Alarm[]>
declaration.Expected behavior:
No error.
Steps to reproduce:
See the project files in issues stenciljs/store#73.
The text was updated successfully, but these errors were encountered: