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
Typescript gives me the error "Property 'restored' does not exist on type 'Store'."
I am trying to use the router guard example shown in the docs, along with async storage.
As a workaround, I defined a type named RestorableAsyncStore that extends Store to include the property restored: Promise<any> and then did await (store as RestorableAsyncStore)?.restored.
Any ideas?
The text was updated successfully, but these errors were encountered:
Typescript gives me the error "Property 'restored' does not exist on type 'Store'."
I am trying to use the router guard example shown in the docs, along with async storage.
As a workaround, I defined a type named
RestorableAsyncStore
that extendsStore
to include the propertyrestored: Promise<any>
and then didawait (store as RestorableAsyncStore)?.restored
.Any ideas?
The text was updated successfully, but these errors were encountered: