diff --git a/src/components/button/button.tsx b/src/components/button/button.tsx index 666c0026ab..04dfb5555c 100644 --- a/src/components/button/button.tsx +++ b/src/components/button/button.tsx @@ -29,7 +29,7 @@ export type ButtonProps = { disabled?: boolean onClick?: ( event: React.MouseEvent - ) => void | Promise | unknown + ) => void | Promise type?: 'submit' | 'reset' | 'button' shape?: 'default' | 'rounded' | 'rectangular' children?: ReactNode diff --git a/src/components/result-page/result-page.tsx b/src/components/result-page/result-page.tsx index d896da6c65..34b8e4a703 100644 --- a/src/components/result-page/result-page.tsx +++ b/src/components/result-page/result-page.tsx @@ -34,7 +34,7 @@ type ResultPageDetails = ResultPageDetail[] type OnClick = ( event: React.MouseEvent -) => void | Promise | unknown +) => void | Promise export type ResultPageProps = { status?: 'success' | 'error' | 'info' | 'waiting' | 'warning'