diff --git a/src/utils/getClearIcon.tsx b/src/utils/getClearIcon.tsx index af0ced5a4..4769abb3e 100644 --- a/src/utils/getClearIcon.tsx +++ b/src/utils/getClearIcon.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from "react"; import React from "react"; export function getClearIcon( - prefixCls, + prefixCls: string, allowClear?: boolean | { clearIcon?: ReactNode }, clearIcon?: ReactNode, ) { @@ -12,4 +12,4 @@ export function getClearIcon( return ( mergedClearIcon || ); -} \ No newline at end of file +}