Skip to content

Commit 52a8552

Browse files
committed
InferFoo types are not internal to router-core, used in react-router
1 parent 140f4b2 commit 52a8552

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/router-core/src/typePrimitives.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export type ValidateParams<
3636
> = PathParamOptions<TRouter, TFrom, TTo>
3737

3838
/**
39-
* @internal
39+
* @private
4040
*/
4141
export type InferFrom<
4242
TOptions,
@@ -48,7 +48,7 @@ export type InferFrom<
4848
: TDefaultFrom
4949

5050
/**
51-
* @internal
51+
* @private
5252
*/
5353
export type InferTo<TOptions> = TOptions extends {
5454
to: infer TTo extends string
@@ -57,7 +57,7 @@ export type InferTo<TOptions> = TOptions extends {
5757
: undefined
5858

5959
/**
60-
* @internal
60+
* @private
6161
*/
6262
export type InferMaskTo<TOptions> = TOptions extends {
6363
mask: { to: infer TTo extends string }
@@ -131,7 +131,7 @@ export type ValidateId<
131131
> = ConstrainLiteral<TId, RouteIds<TRouter['routeTree']>>
132132

133133
/**
134-
* @internal
134+
* @private
135135
*/
136136
export type InferStrict<TOptions> = TOptions extends {
137137
strict: infer TStrict extends boolean
@@ -140,7 +140,7 @@ export type InferStrict<TOptions> = TOptions extends {
140140
: true
141141

142142
/**
143-
* @internal
143+
* @private
144144
*/
145145
export type InferShouldThrow<TOptions> = TOptions extends {
146146
shouldThrow: infer TShouldThrow extends boolean
@@ -149,7 +149,7 @@ export type InferShouldThrow<TOptions> = TOptions extends {
149149
: true
150150

151151
/**
152-
* @internal
152+
* @private
153153
*/
154154
export type InferSelected<TOptions> = TOptions extends {
155155
select: (...args: Array<any>) => infer TSelected

0 commit comments

Comments
 (0)