Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
2.2.6
Environment
Vscode1.60.0,Volar0.27.14
Reproduction link
Steps to reproduce
vscode中使用volar插件,详见vuejs/language-tools#459
What is expected?
export declare class Button extends AntdComponent {
static Group: typeof ButtonGroup;
$props: {
type?: 'primary' | 'danger' | 'dashed' | 'ghost' | 'default';
htmlType?: 'button' | 'submit' | 'reset' | 'menu';
icon?: string;
shape?: 'circle' | 'circle-outline';
size?: 'small' | 'large' | 'default';
loading?: boolean | { delay: number };
disabled?: boolean;
ghost?: boolean;
block?: boolean;
}
}
What is actually happening?
export declare class Button extends AntdComponent {
static Group: typeof ButtonGroup;
type: 'primary' | 'danger' | 'dashed' | 'ghost' | 'default';
htmlType: 'button' | 'submit' | 'reset' | 'menu';
icon: string;
shape: 'circle' | 'circle-outline';
size: 'small' | 'large' | 'default';
loading: boolean | { delay: number };
disabled: boolean;
ghost: boolean;
block: boolean;
}