udecode / zustand-x

Zustand store factory for a best-in-class developer experience.
https://zustand-x.udecode.dev
MIT License
328 stars 20 forks source link

Wrong devtools type #13

Closed rafpaz closed 2 years ago

rafpaz commented 2 years ago

Description

Thanks for making this great library :-) One small thing I noticed when trying it, is that the devtools type (DevToolsOptions) on CreateStoreOptions is missing enableDevtools. Functionality wise everything works great, but I had to add ts-ignore to make it work.

Expectation

enableDevtools should be added to the DevToolsOptions type

zbeyens commented 2 years ago

Thanks for the report! I've changed a bit the options, see https://github.com/udecode/zustood/pull/16