镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(types): export hook state types from the package root - #1733

Open
kaelanvoss wants to merge 1 commit into
react-hookz:masterfrom
kaelanvoss:codex/export-hook-state-types
Open

kaelanvoss wants to merge 1 commit into
react-hookz:masterfrom
kaelanvoss:codex/export-hook-state-types

Conversation

@kaelanvoss

Copy link
Copy Markdown

Importing NextState from @react-hookz/web fails because the state utility types are not re-exported by the package entry point. Re-export InitialState and NextState as types, and add root-import coverage for initialization and mediated updates.

Validated with type checking, lint, formatting, all 534 tests, the declaration build, and a packed-package consumer check.

Fixes #1664

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Module '"@react-hookz/web"' has no exported member 'NextState'.ts

1 participant