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

Strict property initialization #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

raveclassic
Copy link
Contributor

@raveclassic raveclassic commented May 9, 2020

Hi! This PR is a continuation of #77 (means #77 should be merged first) and contains changes after enabling TS strictPropertyInitialization flag.
The code was changed to explicitly check Behavior.last (and similar) values because such values are initialised lazily (that __UNSAFE_GET_LAST_BEHAVIOR_VALUE function and similar).

The code compiles however the tests fail because they work with behaviors unsafely. I can't wrap my head around of all that activate/deactivate dance so I need your help with this, please take a look.

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 this pull request may close these issues.

1 participant