-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix lint errors, remove unused jsonify implementation #12154
Conversation
|
let pendingPatchRoutes = new Map< | ||
string, | ||
ReturnType<AgnosticPatchRoutesOnNavigationFunction> | ||
>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
@@ -2779,8 +2772,6 @@ export function createRouter(init: RouterInit): Router { | |||
fetchersToLoad: RevalidatingFetcher[], | |||
request: Request | |||
) { | |||
let currentMatches = state.matches; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
@@ -5349,10 +5340,6 @@ function isHashChangeOnly(a: Location, b: Location): boolean { | |||
return false; | |||
} | |||
|
|||
function isPromise<T = unknown>(val: unknown): val is Promise<T> { | |||
return typeof val === "object" && val != null && "then" in val; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
@@ -1,6 +1,5 @@ | |||
import type { DataWithResponseInit } from "./router/utils"; | |||
import type { AppLoadContext } from "./server-runtime/data"; | |||
import type { Jsonify } from "./server-runtime/jsonify"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
No description provided.