Skip to content

Commit 9e7f983

Browse files
committed
fix: GenericInfoCardProps typing
1 parent 677f48c commit 9e7f983

File tree

1 file changed

+1
-1
lines changed
  • src/Shared/Components/GenericInfoCard

1 file changed

+1
-1
lines changed

src/Shared/Components/GenericInfoCard/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export enum GenericInfoCardBorderVariant {
2525
export type GenericInfoCardProps = { borderVariant: GenericInfoCardBorderVariant } & (
2626
| ({
2727
isLoading: true
28-
} & Partial<BaseGenericInfoCardProps>)
28+
} & Partial<Record<keyof BaseGenericInfoCardProps, never>>)
2929
| ({
3030
isLoading?: boolean
3131
} & BaseGenericInfoCardProps)

0 commit comments

Comments
 (0)