Skip to content
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

fix: Type for options in autodetected renderer was incorrectly inferring any passed type #527

Merged
merged 1 commit into from
Jan 8, 2021

Commits on Jan 8, 2021

  1. fix: Type for options in autodetected renderer was incorrectly inferr…

    …ing any passed type
    
    Changed `renderHook` in `ReactHooksRenderer` type to not use a generic for options but rather the react specific `RendererOptions`.
    
    Moved `ReactHooksRenderer` into react specific types as all auto-detected renders are react renderers.  All modules are currently exporting both the shared types and the react types so this a non-breaking change.
    mpeyper committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    08922dd View commit details
    Browse the repository at this point in the history