ref(TS) Improve TS (#13365)

Change some any types to the correct types
This commit is contained in:
Robert Pintilii
2023-05-17 13:05:47 +03:00
committed by GitHub
parent 61e9cacceb
commit 06b67dcf44
21 changed files with 87 additions and 41 deletions

View File

@@ -119,7 +119,14 @@ export default function ToolboxButtonWithPopup(props: IProps) {
);
}
const iconProps: any = {};
const iconProps: {
ariaControls?: string;
ariaExpanded?: boolean;
className?: string;
containerId?: string;
role?: string;
tabIndex?: number;
} = {};
if (iconDisabled) {
iconProps.className