Skip to content

Commit d1acec5

Browse files
authored
chore: dedupe JSDoc string for deprecated class FileRoute (#5916)
1 parent 3e6e9e7 commit d1acec5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/react-router/src/fileRoute.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,6 @@ export function createFileRoute<
8989
@deprecated It's no longer recommended to use the `FileRoute` class directly.
9090
Instead, use `createFileRoute('/path/to/file')(options)` to create a file route.
9191
*/
92-
/**
93-
@deprecated It's no longer recommended to use the `FileRoute` class directly.
94-
Instead, use `createFileRoute('/path/to/file')(options)` to create a file route.
95-
*/
96-
/**
97-
@deprecated It's no longer recommended to use the `FileRoute` class directly.
98-
Instead, use `createFileRoute('/path')(options)` to create a file route.
99-
*/
10092
export class FileRoute<
10193
TFilePath extends keyof FileRoutesByPath,
10294
TParentRoute extends AnyRoute = FileRoutesByPath[TFilePath]['parentRoute'],

0 commit comments

Comments
 (0)