Skip to content

Commit dcf43c2

Browse files
authored
fix: Remove reference to inexistent interface (#424)
1 parent 5f3eb96 commit dcf43c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/fuselage/fuselage.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ declare module '@rocket.chat/fuselage' {
232232
variant?: 'neutral' | 'info' | 'success' | 'warning' | 'danger';
233233
onAction?: () => void;
234234
onClose?: () => void;
235-
} & AllHTMLAttributes<HTMLSectionElement>;
235+
} & AllHTMLAttributes<HTMLElement>;
236236
export const Banner: FC<BannerProps>;
237237

238238
type ButtonProps = BoxProps & {
@@ -470,6 +470,6 @@ declare module '@rocket.chat/fuselage' {
470470
type StatusBulletProps = {
471471
status?: 'loading' | 'online' | 'busy' | 'away' | 'offline';
472472
size?: 'small' | 'large';
473-
} & Omit<AllHTMLAttributes<HTMLSpanElement>, 'size'>;
473+
} & Omit<AllHTMLAttributes<HTMLElement>, 'size'>;
474474
export const StatusBullet: FC<StatusBulletProps>;
475475
}

0 commit comments

Comments
 (0)