-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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: fix MetaMatch
type across client & server
#7249
Conversation
|
@@ -148,10 +151,14 @@ interface ServerRuntimeMetaMatch< | |||
handle?: unknown; | |||
params: AgnosticRouteMatch["params"]; | |||
meta: ServerRuntimeMetaDescriptor[]; | |||
error?: unknown; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This got added to the client types but not the server types
779e123
to
1ef3e4e
Compare
MatchLoaders extends Record<string, LoaderFunction | unknown> = Record< | ||
string, | ||
unknown | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align this with the type expected by MetaMatch
1ef3e4e
to
c12443c
Compare
ParentsLoaders extends Record<string, LoaderFunction | unknown> = Record< | ||
string, | ||
unknown | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align with the type expected by ServerRuntimeMetaMatch
MetaMatch
type across client & server
c12443c
to
f8f167a
Compare
f8f167a
to
79a805c
Compare
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Closes #7239