Skip to content

Commit 10f6946

Browse files
committed
chore: format
1 parent dc6917e commit 10f6946

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.changeset/rare-pears-walk.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
---
44

55
Add `loaderData` arguments/properties alongside existing `data` arguments/properties to provide consistency and clarity between `loaderData` and `actionData` across the board
6-
- Updated types: `Route.MetaArgs`, `Route.MetaMatch`, `MetaArgs`, `MetaMatch`, `Route.ComponentProps.matches`, `UIMatch`
7-
- `@deprecated` warnings have been added to the existing `data` properties to point users to new `loaderData` properties, in preparation for removing the `data` properties in a future major release
6+
7+
- Updated types: `Route.MetaArgs`, `Route.MetaMatch`, `MetaArgs`, `MetaMatch`, `Route.ComponentProps.matches`, `UIMatch`
8+
- `@deprecated` warnings have been added to the existing `data` properties to point users to new `loaderData` properties, in preparation for removing the `data` properties in a future major release

packages/react-router/lib/dom/ssr/routeModules.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ export interface MetaArgs<
172172
| undefined;
173173
loaderData:
174174
| (Loader extends LoaderFunction | ClientLoaderFunction
175-
? SerializeFrom<Loader>
176-
: unknown)
175+
? SerializeFrom<Loader>
176+
: unknown)
177177
| undefined;
178178
params: Params;
179179
location: Location;

0 commit comments

Comments
 (0)