Skip to content

Commit 5b5beb5

Browse files
committed
chore: update types
1 parent 382f603 commit 5b5beb5

File tree

96 files changed

+179
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+179
-176
lines changed

types/affix.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// Definitions by: akki-jat <https://github.com/akki-jat>
33
// Definitions: https://github.com/vueComponent/ant-design-vue/types
44

5-
import { AntdComponent } from './component';
5+
import { AntdComponent, AntdProps } from './component';
66

77
export declare class Affix extends AntdComponent {
8-
$props: {
8+
$props: AntdProps & {
99
/**
1010
* Pixels to offset from top when calculating position of scroll
1111
* @default 0

types/alert.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
// Definitions by: akki-jat <https://github.com/akki-jat>
33
// Definitions: https://github.com/vueComponent/ant-design-vue/types
44

5-
import { AntdComponent } from './component';
5+
import { AntdComponent, AntdProps } from './component';
66
import { VNodeChild } from 'vue';
77

88
export declare class Alert extends AntdComponent {
9-
$props: {
9+
$props: AntdProps & {
1010
/**
1111
* Called when close animation is finished
1212
* @type Function

types/anchor/anchor-link.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
// Definitions: https://github.com/vueComponent/ant-design-vue/types
44

55
import { VNodeChild } from 'vue';
6+
import { AntdComponent, AntdProps } from '../component';
67

7-
export declare class AnchorLink {
8-
$props: {
8+
export declare class AnchorLink extends AntdComponent {
9+
$props: AntdProps & {
910
/**
1011
* target of hyperlink
1112
* @type string

types/anchor/anchor.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
import { CSSProperties } from 'vue';
66
import { AnchorLink } from './anchor-link';
7-
import { AntdComponent } from '../component';
7+
import { AntdComponent, AntdProps } from '../component';
88

99
export declare class Anchor extends AntdComponent {
1010
static Link: typeof AnchorLink;
1111

12-
$props: {
12+
$props: AntdProps & {
1313
/**
1414
* Fixed mode of Anchor
1515
* @default true

types/auto-complete.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
// Definitions by: akki-jat <https://github.com/akki-jat>
33
// Definitions: https://github.com/vueComponent/ant-design-vue/types
44

5-
import { AntdComponent } from './component';
5+
import { AntdComponent, AntdProps } from './component';
66
import { CSSProperties } from 'vue';
77

88
export declare type Value = { key: string };
99

1010
export declare type SelectValue = string | number | Value | Array<Value | string | number>;
1111

1212
export declare class AutoComplete extends AntdComponent {
13-
$props: {
13+
$props: AntdProps & {
1414
dropdownMenuStyle: CSSProperties;
1515
/**
1616
* Show clear button, effective in multiple mode only.

types/avatar.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// Definitions: https://github.com/vueComponent/ant-design-vue/types
44

55
import { VNodeChild } from 'vue';
6-
import { AntdComponent } from './component';
6+
import { AntdComponent, AntdProps } from './component';
77

88
export declare class Avatar extends AntdComponent {
9-
$props: {
9+
$props: AntdProps & {
1010
/**
1111
* the Icon type for an icon avatar, see Icon Component
1212
* @type any (VNode | slot)

types/back-top.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// Definitions by: akki-jat <https://github.com/akki-jat>
33
// Definitions: https://github.com/vueComponent/ant-design-vue/types
44

5-
import { AntdComponent } from './component';
5+
import { AntdComponent, AntdProps } from './component';
66

77
export declare class BackTop extends AntdComponent {
8-
$props: {
8+
$props: AntdProps & {
99
/**
1010
* specifies the scrollable area dom node
1111
* @default () => window

types/badge.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
// Definitions by: akki-jat <https://github.com/akki-jat>
33
// Definitions: https://github.com/vueComponent/ant-design-vue/types
44

5-
import { AntdComponent } from './component';
5+
import { AntdComponent, AntdProps } from './component';
66
import { VNodeChild, CSSProperties } from 'vue';
77

88
export declare class Badge extends AntdComponent {
9-
$props: {
9+
$props: AntdProps & {
1010
color?: string;
1111

1212
/**

types/breadcrumb/breadcrumb-item.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Definitions by: akki-jat <https://github.com/akki-jat>
33
// Definitions: https://github.com/vueComponent/ant-design-vue/types
44
export declare class BreadcrumbItem {
5-
$props: {
5+
$props: AntdProps & {
66
/**
77
* add navigation
88
* @default ''

types/breadcrumb/breadcrumb.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import { VNode } from 'vue';
66
import { BreadcrumbItem } from './breadcrumb-item';
77
import { BreadcrumbSeparator } from './breadcrumb-separator';
8-
import { AntdComponent } from '../component';
8+
import { AntdComponent, AntdProps } from '../component';
99

1010
export interface Route {
1111
path?: String;
@@ -17,7 +17,7 @@ export declare class Breadcrumb extends AntdComponent {
1717
static Item: typeof BreadcrumbItem;
1818
static Separator: typeof BreadcrumbSeparator;
1919

20-
$props: {
20+
$props: AntdProps & {
2121
/**
2222
* The routing stack information of router
2323
* @type Route[]

0 commit comments

Comments
 (0)