context: the type usage is incorrect and was previously ignored by ts-expect-error,
but with 3.5 the error happens at the call level so it is safer to just any it.
/**
* @jest-environment jsdom
*/
-import { RouterLink, RouterLinkProps } from '../src/RouterLink'
+import { RouterLink } from '../src/RouterLink'
import {
START_LOCATION_NORMALIZED,
RouteQueryAndHash,
components: { RouterLink },
name: 'AppLink',
- // @ts-expect-error
props: {
- ...((RouterLink as any).props as RouterLinkProps),
+ ...(RouterLink as any).props,
inactiveClass: String as PropType<string>,
},