Replies: 1 comment 1 reply
-
@Ofer-Gal Please share a minimal reproduction with us |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know you do not have full typescript support yet but version 9 claims to have some.
Since I am using React (16.13.1) in SPFx I have to use typescript.
Even for the minimal setup in store.ts
I get an error on "useStore" :
Exported variable 'useStore' has or is using name 'useStoreType' from external module "teaful" but cannot be named.ts(4023)
Can anyone help with some boilerplate usage with TypeScript?
useStore must be exported to be used in other components.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions