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

feat!: align types with React Router #7319

Merged
merged 10 commits into from
Sep 6, 2023
Prev Previous commit
Next Next commit
Switch UIMatch from interface to type
Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
  • Loading branch information
brophdawg11 and MichaelDeBoey committed Sep 6, 2023
commit 35b6e1cce290bcb082ab67ca8ffa10c5844df615
2 changes: 1 addition & 1 deletion packages/remix-react/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ function dedupe(array: any[]) {
return [...new Set(array)];
}

export interface UIMatch<D = AppData> extends UIMatchRR<SerializeFrom<D>> {}
export type UIMatch<D = AppData> = UIMatchRR<SerializeFrom<D>>;

/**
* Returns the active route matches, useful for accessing loaderData for
Expand Down