Skip to content

fix(deps): update dependency react-router-dom to v7 #4379

fix(deps): update dependency react-router-dom to v7

fix(deps): update dependency react-router-dom to v7 #4379

Triggered via pull request December 23, 2024 19:03
Status Failure
Total duration 1m 31s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
test
Type '{ children: Element; history: History<unknown>; }' is not assignable to type 'IntrinsicAttributes & RouterProps & { children?: ReactNode; }'.
test
Module '"react-router-dom"' has no exported member 'Switch'.
test
Type '{ path: string; exact: boolean; component: FC<Props>; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
test
Type '{ path: string; render: ({ location }: { location: any; }) => null; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
test
Binding element 'location' implicitly has an 'any' type.
test
Type '{ path: string; exact: boolean; component: FC<Props>; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
test
Type '{ path: string; render: ({ location }: { location: any; }) => null; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
test
Binding element 'location' implicitly has an 'any' type.
test
'"react-router-dom"' has no exported member named 'useRouteMatch'. Did you mean 'RouteMatch'?
test
Module '"react-router-dom"' has no exported member 'useHistory'.
build
Type '{ children: Element; history: History<unknown>; }' is not assignable to type 'IntrinsicAttributes & RouterProps & { children?: ReactNode; }'.
build
Module '"react-router-dom"' has no exported member 'Switch'.
build
Type '{ path: string; exact: boolean; component: FC<Props>; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
build
Type '{ path: string; render: ({ location }: { location: any; }) => null; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
build
Binding element 'location' implicitly has an 'any' type.
build
Type '{ path: string; exact: boolean; component: FC<Props>; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
build
Type '{ path: string; render: ({ location }: { location: any; }) => null; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
build
Binding element 'location' implicitly has an 'any' type.
build
'"react-router-dom"' has no exported member named 'useRouteMatch'. Did you mean 'RouteMatch'?
build
Module '"react-router-dom"' has no exported member 'useHistory'.
dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636