fix: types error
parent
fb52b36067
commit
8024469b88
|
@ -1 +1 @@
|
|||
Subproject commit 1d6cf82368f83064099c155bcee7d73e28a65d6a
|
||||
Subproject commit b890776f98b4f156b2851cecac57691de1779dcb
|
|
@ -1,7 +1,8 @@
|
|||
// Project: https://github.com/vueComponent/ant-design-vue
|
||||
// Definitions by: akki-jat <https://github.com/akki-jat>
|
||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||
export declare class BreadcrumbItem {
|
||||
import { AntdComponent, AntdProps } from '../component';
|
||||
export declare class BreadcrumbItem extends AntdComponent {
|
||||
$props: AntdProps & {
|
||||
/**
|
||||
* add navigation
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
// Definitions by: akki-jat <https://github.com/akki-jat>
|
||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||
|
||||
export declare class CheckboxGroup {
|
||||
import { AntdComponent, AntdProps } from '../component';
|
||||
export declare class CheckboxGroup extends AntdComponent {
|
||||
$props: AntdProps & {
|
||||
/**
|
||||
* Default selected value
|
||||
|
|
|
@ -28,5 +28,5 @@ export interface LayoutContentProps {
|
|||
}
|
||||
|
||||
export default class LayoutContent extends AntdComponent {
|
||||
$props: LayoutContentProps;
|
||||
$props: AntdProps & LayoutContentProps;
|
||||
}
|
||||
|
|
|
@ -15,5 +15,5 @@ export interface LayoutFooterProps {
|
|||
}
|
||||
|
||||
export default class LayoutFooter extends AntdComponent {
|
||||
$props: LayoutFooterProps;
|
||||
$props: AntdProps & LayoutFooterProps;
|
||||
}
|
||||
|
|
|
@ -15,5 +15,5 @@ export interface LayoutHeaderProps {
|
|||
}
|
||||
|
||||
export default class LayoutHeader extends AntdComponent {
|
||||
$props: LayoutHeaderProps;
|
||||
$props: AntdProps & LayoutHeaderProps;
|
||||
}
|
||||
|
|
|
@ -68,5 +68,5 @@ export interface LayoutSiderProps {
|
|||
}
|
||||
|
||||
export declare class LayoutSider extends AntdComponent {
|
||||
$props: LayoutSiderProps;
|
||||
$props: AntdProps & LayoutSiderProps;
|
||||
}
|
||||
|
|
|
@ -23,5 +23,5 @@ export declare class Layout extends AntdComponent {
|
|||
static Footer: typeof LayoutFooter;
|
||||
static Sider: typeof LayoutSider;
|
||||
|
||||
$props: LayoutProps;
|
||||
$props: AntdProps & LayoutProps;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
// Project: https://github.com/vueComponent/ant-design-vue
|
||||
// Definitions by: akki-jat <https://github.com/akki-jat>
|
||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||
|
||||
export interface ModalLocale {
|
||||
okText: string;
|
||||
cancelText: string;
|
||||
justOkText: string;
|
||||
}
|
||||
export interface Locale {
|
||||
locale: string;
|
||||
Pagination?: Object;
|
||||
DatePicker?: Object;
|
||||
TimePicker?: Object;
|
||||
Calendar?: Object;
|
||||
Table?: Object;
|
||||
Modal?: ModalLocale;
|
||||
Popconfirm?: Object;
|
||||
Transfer?: Object;
|
||||
Select?: Object;
|
||||
Upload?: Object;
|
||||
}
|
|
@ -3,8 +3,9 @@
|
|||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||
|
||||
import { VNodeChild } from 'vue';
|
||||
import { AntdComponent, AntdProps } from './component';
|
||||
|
||||
export declare class Meta {
|
||||
export declare class Meta extends AntdComponent {
|
||||
$props: AntdProps & {
|
||||
/**
|
||||
* The avatar of list item
|
||||
|
|
|
@ -42,7 +42,7 @@ export declare class RadioProps {
|
|||
export declare class Radio extends AntdComponent {
|
||||
static Group: typeof RadioGroup;
|
||||
static Button: typeof RadioButton;
|
||||
$props: RadioProps;
|
||||
$props: AntdProps & RadioProps;
|
||||
/**
|
||||
* remove focus
|
||||
*/
|
||||
|
|
|
@ -51,5 +51,5 @@ export declare class Spin extends AntdComponent {
|
|||
* @param param0 indicator
|
||||
*/
|
||||
static setDefaultIndicator({ indicator }: { indicator: any }): void;
|
||||
$props: SpinProps;
|
||||
$props: AntdProps & SpinProps;
|
||||
}
|
||||
|
|
|
@ -203,5 +203,5 @@ export interface ColumnProps<T> {
|
|||
}
|
||||
|
||||
export declare class Column<T> extends AntdComponent {
|
||||
$props: ColumnProps<T>;
|
||||
$props: AntdProps & ColumnProps<T>;
|
||||
}
|
||||
|
|
|
@ -14,5 +14,5 @@ interface DictionaryTreeProps extends TreeProps {
|
|||
expandAction?: string | boolean;
|
||||
}
|
||||
export declare class DictionaryTree extends AntdComponent {
|
||||
$props: DictionaryTreeProps;
|
||||
$props: AntdProps & DictionaryTreeProps;
|
||||
}
|
||||
|
|
|
@ -271,5 +271,5 @@ export declare class Tree extends AntdComponent {
|
|||
static TreeNode: typeof TreeNode;
|
||||
static DirectoryTree: typeof DictionaryTree;
|
||||
|
||||
$props: TreeProps;
|
||||
$props: AntdProps & TreeProps;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue