Closed loakliu closed 9 months ago
5.33
`import enUS from 'antd-mobile/es/locales/en-US'; import zhCN from 'antd-mobile/es/locales/en-US'; interface AntdLngConfigProps {
} 期待有一个Locale的类型支持,可以从antd-mobile/es中导出 类似 import type { Locale } from 'antd-mobile/es';`
期待有一个Locale的类型支持,可以从antd-mobile/es中导出 类似
import { Locale } from 'antd-mobile/es/locales/base'; 我关掉这个问题
Version of antd-mobile
5.33
What is this feature about?
`import enUS from 'antd-mobile/es/locales/en-US'; import zhCN from 'antd-mobile/es/locales/en-US'; interface AntdLngConfigProps {
}
期待有一个Locale的类型支持,可以从antd-mobile/es中导出 类似
import type { Locale } from 'antd-mobile/es';`