mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
type: rm redundant any type (#56460)
This commit is contained in:
@@ -53,7 +53,7 @@ function getPresetColorsTokenList(presetColors: string[]) {
|
||||
}
|
||||
|
||||
const main = async () => {
|
||||
const app = await (Application as any).bootstrap(
|
||||
const app = await Application.bootstrap(
|
||||
{
|
||||
// typedoc options here
|
||||
entryPoints: ['components/theme/interface/index.ts', 'components/*/style/index.{ts,tsx}'],
|
||||
@@ -87,7 +87,7 @@ const main = async () => {
|
||||
} else if (type.name === 'AliasToken') {
|
||||
tokenMeta.alias = getTokenList(type.children, 'alias');
|
||||
} else if (type.name === 'PresetColors') {
|
||||
presetColors = (type?.type as any)?.target?.elements?.map((item: any) => item.value);
|
||||
presetColors = type?.type?.target?.elements?.map((item: any) => item.value);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user