@@ -143,10 +143,11 @@ type ClientDataFunctionArgs<T extends RouteInfo> = {
143
143
params : T [ "params" ] ;
144
144
/**
145
145
* When `future.unstable_middleware` is not enabled, this is undefined.
146
+ *
146
147
* When `future.unstable_middleware` is enabled, this is an instance of
147
- * `{ @link unstable_RouterContextProvider} ` and can be used to access context values
148
+ * `unstable_RouterContextProvider` and can be used to access context values
148
149
* from your route middlewares. You may pass in initial context values in your
149
- * `{ @link unstable_getContext}` function passed tp `{ @link HydratedRouter}`
150
+ * `<HydratedRouter unstable_getContext>` prop
150
151
*/
151
152
context : unstable_RouterContextProvider ;
152
153
} ;
@@ -171,15 +172,15 @@ type ServerDataFunctionArgs<T extends RouteInfo> = {
171
172
params : T [ "params" ] ;
172
173
/**
173
174
* Without `future.unstable_middleware` enabled, this is the context passed in
174
- * to your server adapter's `{ @link getLoadContext} ` function. It's a way to bridge the
175
+ * to your server adapter's `getLoadContext` function. It's a way to bridge the
175
176
* gap between the adapter's request/response API with your React Router app.
176
177
* It is only applicable if you are using a custom server adapter.
177
178
*
178
179
* With `future.unstable_middleware` enabled, this is an instance of
179
- * `{ @link unstable_RouterContextProvider} ` and can be used for type-safe access to
180
+ * `unstable_RouterContextProvider` and can be used for type-safe access to
180
181
* context value set in your route middlewares. If you are using a custom
181
182
* server adapter, you may provide an initial set of context values from your
182
- * `{ @link getLoadContext} ` function.
183
+ * `getLoadContext` function.
183
184
*/
184
185
context : MiddlewareEnabled extends true
185
186
? unstable_RouterContextProvider
0 commit comments