Skip to content

fix(deps): update dependency react-router-dom to v6 #4105

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

fix(deps): update dependency react-router-dom to v6 #4105

Triggered via pull request August 1, 2024 14:08
Status Failure
Total duration 1m 34s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
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'.