Skip to content

[@mantine/core] Fix error: expression produces a union type that is too complex to represent #214

[@mantine/core] Fix error: expression produces a union type that is too complex to represent

[@mantine/core] Fix error: expression produces a union type that is too complex to represent #214

Re-run triggered October 12, 2024 11:40
Status Failure
Total duration 3m 47s
Artifacts

npm_test.yml

on: pull_request
test_pull_request
3m 35s
test_pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test_pull_request: packages/@mantine/core/src/components/ActionIcon/ActionIcon.test.tsx#L17
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<ActionIconProps>'.
test_pull_request: packages/@mantine/core/src/components/ActionIcon/ActionIcon.test.tsx#L22
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<ActionIconProps>'.
test_pull_request: packages/@mantine/core/src/components/Anchor/Anchor.test.tsx#L8
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<AnchorProps>'.
test_pull_request: packages/@mantine/core/src/components/Avatar/Avatar.test.tsx#L11
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<AvatarProps>'.
test_pull_request: packages/@mantine/core/src/components/BackgroundImage/BackgroundImage.test.tsx#L14
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<BackgroundImageProps>'.
test_pull_request: packages/@mantine/core/src/components/Badge/Badge.test.tsx#L11
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<BadgeProps>'.
test_pull_request: packages/@mantine/core/src/components/Button/Button.test.tsx#L21
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<ButtonProps>'.
test_pull_request: packages/@mantine/core/src/components/Button/Button.test.tsx#L26
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<ButtonProps>'.
test_pull_request: packages/@mantine/core/src/components/Card/Card.test.tsx#L11
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<CardProps>'.
test_pull_request: packages/@mantine/core/src/components/Center/Center.test.tsx#L10
Type 'PolymorphicComponent' is not assignable to type 'ComponentType<CenterProps>'.
test_pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/