Skip to content

fix various types in glossary #5466

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

Merged
merged 1 commit into from
Aug 26, 2017
Merged

fix various types in glossary #5466

merged 1 commit into from
Aug 26, 2017

Conversation

jedwards1211
Copy link

there are definitely more in these docs that don't match the code, but here are a few fixes:

  • EnterHook needs to use function intersection instead of an optional callback parameter
  • some props in LocationDescriptorObject are optional
  • RedirectFunction seems to take just a LocationDescriptor object as far as I can tell from the source code

there are definitely more in these docs that don't match the code, but here are a few fixes:
* `EnterHook` needs to use function intersection instead of an optional `callback` parameter
* some props in `LocationDescriptorObject` are optional
* `RedirectFunction` seems to take just a `LocationDescriptor` object as far as I can tell from the source code
@timdorr
Copy link
Member

timdorr commented Aug 26, 2017

Thanks!

@timdorr timdorr merged commit 4816eca into remix-run:v3 Aug 26, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants