File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,13 @@ export {
6161 createPath ,
6262 parsePath ,
6363} from "./lib/router/history" ;
64+ export type {
65+ unstable_ServerInstrumentation ,
66+ unstable_ClientInstrumentation ,
67+ unstable_InstrumentRequestHandlerFunction ,
68+ unstable_InstrumentRouterFunction ,
69+ unstable_InstrumentRouteFunction ,
70+ } from "./lib/router/instrumentation" ;
6471export {
6572 IDLE_NAVIGATION ,
6673 IDLE_FETCHER ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {
2727} from "react-router" ;
2828import { CRITICAL_CSS_DATA_ATTRIBUTE } from "../dom/ssr/components" ;
2929import { RouterProvider } from "./dom-router-provider" ;
30- import { unstable_ClientInstrumentation } from "../router/instrumentation" ;
30+ import type { unstable_ClientInstrumentation } from "../router/instrumentation" ;
3131
3232type SSRInfo = {
3333 context : NonNullable < ( typeof window ) [ "__reactRouterContext" ] > ;
Original file line number Diff line number Diff line change @@ -95,12 +95,7 @@ import {
9595 useRouteId ,
9696} from "../hooks" ;
9797import type { SerializeFrom } from "../types/route-data" ;
98- import {
99- instrumentClientSideRouter ,
100- unstable_ClientInstrumentation ,
101- type unstable_InstrumentRouteFunction ,
102- type unstable_InstrumentRouterFunction ,
103- } from "../router/instrumentation" ;
98+ import type { unstable_ClientInstrumentation } from "../router/instrumentation" ;
10499
105100////////////////////////////////////////////////////////////////////////////////
106101//#region Global Stuff
You can’t perform that action at this time.
0 commit comments