types(utils): pick type (#8179)

This commit is contained in:
neverland
2021-02-19 19:38:47 +08:00
committed by GitHub
parent d67031a98d
commit 8696f4ee70
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -18,10 +18,10 @@ export type DialogAction = 'confirm' | 'cancel';
export type DialogMessageAlign = 'left' | 'center' | 'right';
const popupKeys = [
...Object.keys(popupSharedProps),
...(Object.keys(popupSharedProps) as Array<keyof typeof popupSharedProps>),
'transition',
'closeOnPopstate',
];
] as const;
export default createComponent({
props: {