diff --git a/packages/web3/src/hooks/useIntl.tsx b/packages/web3/src/hooks/useIntl.tsx index 855a883f6..9eadd06a6 100644 --- a/packages/web3/src/hooks/useIntl.tsx +++ b/packages/web3/src/hooks/useIntl.tsx @@ -4,7 +4,7 @@ import type { Locale, ConfigConsumerProps, RequiredLocale } from '@ant-design/we type ComponentName = keyof Locale; -interface IntlType { +interface IntlType { messages: RequiredLocale[T]; getMessage: (message: string, values?: Record) => string; }