Skip to content

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

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

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

Triggered via pull request July 17, 2024 20:05
Status Failure
Total duration 2m 3s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

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