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

Add type to store #22

Open
DenisKnecht02 opened this issue Oct 8, 2022 · 1 comment
Open

Add type to store #22

DenisKnecht02 opened this issue Oct 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@DenisKnecht02
Copy link
Contributor

Version: latest

Describe the bug

The writable store (https://github.com/authorizerdev/authorizer-svelte/blob/main/src/lib/store/index.ts) does not specify a type.

Expected behavior

The data returned when subscribing to the store should be of the type AuthorizerState.

Screenshots

Current state of the store:
image

@DenisKnecht02 DenisKnecht02 added the bug Something isn't working label Oct 8, 2022
lakhansamani added a commit that referenced this issue Mar 24, 2023
Fix error : AuthorizerProvider should know it can accept childe components
@siimsams
Copy link
Contributor

siimsams commented Dec 4, 2023

It now has type. This can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants