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

Insist that ConnectedStore has a fetcher and LiveStore has an update… #551

Merged
merged 2 commits into from
Mar 14, 2022

Conversation

timbl
Copy link
Member

@timbl timbl commented Mar 7, 2022

to save TS worrying about it in the calling modules.

Avoids TS errors like "liveStore.fetcher may be undefined"

@bourgeoa
Copy link
Contributor

bourgeoa commented Mar 7, 2022

LGTM

@timbl
Copy link
Member Author

timbl commented Mar 7, 2022

the change from DOMtree to HTMLDocument was to fix an error which only showed in solid-ui -- the way TSC complains about remote bits of code can be a bit annoying. I didn't know that it would absorb the type info in old JS comments.

@bourgeoa bourgeoa merged commit f531ecd into main Mar 14, 2022
@bourgeoa bourgeoa deleted the liveStore-types branch March 14, 2022 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants