Skip to content

Commit a65d6f5

Browse files
committed
Exports and lint fixes
1 parent 3df673e commit a65d6f5

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

packages/react-router/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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";
6471
export {
6572
IDLE_NAVIGATION,
6673
IDLE_FETCHER,

packages/react-router/lib/dom-export/hydrated-router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
} from "react-router";
2828
import { CRITICAL_CSS_DATA_ATTRIBUTE } from "../dom/ssr/components";
2929
import { RouterProvider } from "./dom-router-provider";
30-
import { unstable_ClientInstrumentation } from "../router/instrumentation";
30+
import type { unstable_ClientInstrumentation } from "../router/instrumentation";
3131

3232
type SSRInfo = {
3333
context: NonNullable<(typeof window)["__reactRouterContext"]>;

packages/react-router/lib/dom/lib.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,7 @@ import {
9595
useRouteId,
9696
} from "../hooks";
9797
import 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

0 commit comments

Comments
 (0)