You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.
> tsc --noEmit
node_modules/@remix-run/router/history.ts:349:30 - error TS6133: 'window' is declared but its value is never read.
349 function createBrowserHref(window: Window, to: To) {
~~~~~~
node_modules/@remix-run/router/utils.ts:332:5 - error TS2322: Type 'AgnosticRouteMatch<string, RouteObjectType>[] | null' is not assignable to type 'null'.
Type 'AgnosticRouteMatch<string, RouteObjectType>[]' is not assignable to type 'null'.
332 matches = matchRouteBranch<string, RouteObjectType>(
~~~~~~~
node_modules/@remix-run/router/utils.ts:1149:31 - error TS6133: 'v' is declared but its value is never read.
1149 this.pendingKeys.forEach((v, k) => this.pendingKeys.delete(k));
~
Found 3 errors in 2 files.
Errors Files
1 node_modules/@remix-run/router/history.ts:349
2 node_modules/@remix-run/router/utils.ts:332
ERROR: "test:types" exited with 2.
The text was updated successfully, but these errors were encountered:
Hi @tpaulshippy, glad you found a workaround. I'll close this since you have a workaround and official remix testing helpers should be coming soon which should help with any TypeScript issues. remix-run/remix#4539
How can I get past this?
The text was updated successfully, but these errors were encountered: