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

export store to use createCollection() in ts #524

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

Conversation

shedokan
Copy link

@shedokan shedokan commented Aug 31, 2024

Fixes an issue where we couldn't use createColection in typescript properly as it's not possible to import the Store type.

As it's needed to import it from home-assistant-js-webocket/dist/store
TS is complaining

TS2307: Cannot find module home-assistant-js-websocket/ dist/ store or its corresponding type declarations.

@shedokan shedokan changed the title export store to use createCollection export store to use createCollection() in ts Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant