fix(deps): update dependency react-router-dom to v7 #4362
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'.
|