chore: udpate type

pull/2820/head
tanjinzhou 2020-09-09 16:40:28 +08:00
parent ca2bfbd3ef
commit f38979f5ba
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "ant-design-vue", "name": "ant-design-vue",
"version": "2.0.0-beta.8", "version": "2.0.0-beta.9",
"title": "Ant Design Vue", "title": "Ant Design Vue",
"description": "An enterprise-class UI design language and Vue-based implementation", "description": "An enterprise-class UI design language and Vue-based implementation",
"keywords": [ "keywords": [

View File

@ -3,6 +3,7 @@
// Definitions: https://github.com/vueComponent/ant-design-vue/types // Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent, AntdProps } from '../component'; import { AntdComponent, AntdProps } from '../component';
import { VNodeChild } from 'vue';
export declare class Option extends AntdComponent { export declare class Option extends AntdComponent {
$props: AntdProps & { $props: AntdProps & {
@ -36,5 +37,6 @@ export declare class Option extends AntdComponent {
* @type string * @type string
*/ */
class?: string; class?: string;
label?: VNodeChild | JSX.Element;
}; };
} }

View File

@ -246,11 +246,11 @@ export declare class Select extends AntdComponent {
/** /**
* remove focus * remove focus
*/ */
onBlur: (e?: Event) => void; onBlur?: (e?: Event) => void;
/** /**
* get focus * get focus
*/ */
onFocus: (e?: Event) => void; onFocus?: (e?: Event) => void;
}; };
} }