diff --git a/components/button/buttonHelpers.tsx b/components/button/buttonHelpers.tsx index b0af751a5c..ff1648028f 100644 --- a/components/button/buttonHelpers.tsx +++ b/components/button/buttonHelpers.tsx @@ -15,7 +15,7 @@ export function convertLegacyProps( return { type }; } -export function isString(str: any): str is string { +export function isString(str: unknown): str is string { return typeof str === 'string'; }