Skip to content

fix(types): Missing exports on middleware #1104

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

Closed
wants to merge 1 commit into from

Conversation

stephenwf
Copy link

Missing exports on middleware required for generating declarations (fixes #1103).

As this requires a different tsconfig.json entry for the compiler to complain, I could not think of a simple way to integrate with the existing type-testing.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e735ab0:

Sandbox Source
React Configuration
React Typescript Configuration
React Browserify Configuration
React Snowpack Configuration
React Parcel Configuration
Next.js Configuration
zustand-4.0.0-rc.2-declaration Issue #1103
zustand-4.0.0-rc.2-declaration-from-docs Issue #1103

@dai-shi
Copy link
Member

dai-shi commented Jul 19, 2022

Thanks for the suggestion.
It turns out that #1012 was a wrong move. #1101 (comment)

#1106 reverts it.

@dai-shi dai-shi closed this Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing exports on middleware
2 participants