Skip to content

Commit cd9c6c7

Browse files
committed
pnpm lint
1 parent 45333f0 commit cd9c6c7

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

packages/react-router/__tests__/router/router-session-storage-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// viewTransitionRegistry.test.ts
2-
import { ViewTransitionOptions } from "../../lib/dom/global";
2+
import type { ViewTransitionOptions } from "../../lib/dom/global";
33
import type { AppliedViewTransitionMap } from "../../lib/router/router";
44
import {
55
restoreAppliedTransitions,

packages/react-router/__tests__/router/view-transition-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ViewTransitionOptions } from "../../lib/dom/global";
1+
import type { ViewTransitionOptions } from "../../lib/dom/global";
22
import { IDLE_NAVIGATION } from "../../lib/router/router";
33
import { cleanup, setup } from "./utils/data-router-setup";
44
import { createFormData } from "./utils/utils";

packages/react-router/lib/context.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import type {
1919
LazyRouteFunction,
2020
TrackedPromise,
2121
} from "./router/utils";
22-
import { ViewTransitionOptions } from "./dom/global";
22+
import type { ViewTransitionOptions } from "./dom/global";
2323

2424
// Create react-specific types from the agnostic types in @remix-run/router to
2525
// export from react-router

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { warning } from "../router/history";
22
import type { RelativeRoutingType } from "../router/router";
33
import type { FormEncType, HTMLFormMethod } from "../router/utils";
44
import { stripBasename } from "../router/utils";
5-
import { ViewTransitionOptions } from "./global";
5+
import type { ViewTransitionOptions } from "./global";
66

77
export const defaultMethod: HTMLFormMethod = "get";
88
const defaultEncType: FormEncType = "application/x-www-form-urlencoded";

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ import {
9090
useRouteId,
9191
} from "../hooks";
9292
import type { SerializeFrom } from "../types/route-data";
93-
import { ViewTransitionOptions } from "./global";
93+
import type { ViewTransitionOptions } from "./global";
9494

9595
////////////////////////////////////////////////////////////////////////////////
9696
//#region Global Stuff

packages/react-router/lib/router/router.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ViewTransitionOptions } from "../dom/global";
1+
import type { ViewTransitionOptions } from "../dom/global";
22
import type { History, Location, Path, To } from "./history";
33
import {
44
Action as NavigationType,

0 commit comments

Comments
 (0)