Skip to content

Commit 382f603

Browse files
committed
style: pretty-quick
1 parent 83f7c6e commit 382f603

39 files changed

+208
-208
lines changed

types/cascader.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export declare class Cascader extends AntdComponent {
198198
* @type Array<string | number>
199199
*/
200200
value?: Array<string | number>;
201-
}
201+
};
202202
/**
203203
* remove focus
204204
*/

types/comment.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import { AntdComponent } from './component';
66

77
export declare class Comment extends AntdComponent {
88
$props: {
9-
/** List of action items rendered below the comment content
9+
/** List of action items rendered below the comment content
1010
* any ( array | slot )
1111
*/
1212
actions?: VNodeChild | JSX.Element;
1313

14-
/** The element to display as the comment author
14+
/** The element to display as the comment author
1515
* @type any ( string | slot)
1616
*/
1717
author?: VNodeChild | JSX.Element;
@@ -21,7 +21,7 @@ export declare class Comment extends AntdComponent {
2121
*/
2222
avatar?: VNodeChild | JSX.Element;
2323

24-
/** The main content of the comment
24+
/** The main content of the comment
2525
* @type any ( string | slot)
2626
*/
2727
content?: VNodeChild | JSX.Element;
@@ -31,9 +31,9 @@ export declare class Comment extends AntdComponent {
3131
*/
3232
prefixCls?: string;
3333

34-
/** A datetime element containing the time to be displayed
34+
/** A datetime element containing the time to be displayed
3535
* @type any ( string | slot)
3636
*/
3737
datetime?: VNodeChild | JSX.Element;
38-
}
38+
};
3939
}

types/dropdown/dropdown-button.d.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,20 @@ export declare class DropdownButton extends AntdComponent {
1818
* the dropdown menu
1919
* @type () => Menu
2020
*/
21-
overlay?: () => Menu
21+
overlay?: () => Menu;
2222

2323
/**
2424
* placement of pop menu: bottomLeft bottomCenter bottomRight topLeft topCenter topRight
2525
* @default 'bottomLeft'
2626
* @type string
2727
*/
28-
placement?: 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
28+
placement?:
29+
| 'topLeft'
30+
| 'topCenter'
31+
| 'topRight'
32+
| 'bottomLeft'
33+
| 'bottomCenter'
34+
| 'bottomRight';
2935

3036
/**
3137
* size of the button, the same as Button
@@ -57,5 +63,5 @@ export declare class DropdownButton extends AntdComponent {
5763
* Icon (appears on the right) (1.5.0)
5864
*/
5965
icon?: VNodeChild | JSX.Element;
60-
}
66+
};
6167
}

types/dropdown/dropdown.d.ts

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ export declare class Dropdown extends AntdComponent {
1111
static Button: typeof DropdownButton;
1212
$props: {
1313
/**
14-
* the trigger mode which executes the drop-down action
15-
* @default ['hover']
16-
* @type string[]
17-
*/
14+
* the trigger mode which executes the drop-down action
15+
* @default ['hover']
16+
* @type string[]
17+
*/
1818
trigger?: Array<'click' | 'hover' | 'contextmenu'>;
1919

2020
/**
2121
* the dropdown menu
2222
* @type () => Menu
2323
*/
24-
overlay?: () => Menu
24+
overlay?: () => Menu;
2525

2626
/**
2727
* Class name of the dropdown root element
@@ -59,6 +59,12 @@ export declare class Dropdown extends AntdComponent {
5959
* @default 'bottomLeft'
6060
* @type string
6161
*/
62-
placement?: 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
63-
}
62+
placement?:
63+
| 'topLeft'
64+
| 'topCenter'
65+
| 'topRight'
66+
| 'bottomLeft'
67+
| 'bottomCenter'
68+
| 'bottomRight';
69+
};
6470
}

types/grid/col.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,5 @@ export declare class Col extends AntdComponent {
8383
* @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
8484
*/
8585
xxl?: { span: ColSpanType; offset: ColSpanType } | ColSpanType;
86-
}
87-
86+
};
8887
}

types/grid/row.d.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ import { AntdComponent } from '../component';
77
type Gutter =
88
| number
99
| {
10-
xs: number;
11-
sm: number;
12-
md: number;
13-
lg: number;
14-
xl: number;
15-
xxl: number;
16-
};
10+
xs: number;
11+
sm: number;
12+
md: number;
13+
lg: number;
14+
xl: number;
15+
xxl: number;
16+
};
1717
export declare class Row extends AntdComponent {
1818
$props: {
1919
/**
20-
* spacing between grids, could be a number or a object like { xs: 8, sm: 16, md: 24}
21-
* @default 0
22-
* @type numner | object
23-
*/
20+
* spacing between grids, could be a number or a object like { xs: 8, sm: 16, md: 24}
21+
* @default 0
22+
* @type numner | object
23+
*/
2424
gutter?: Gutter | [Gutter, Gutter];
2525

2626
/**
@@ -42,5 +42,5 @@ export declare class Row extends AntdComponent {
4242
* @type string
4343
*/
4444
justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between';
45-
}
45+
};
4646
}

types/input-number.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ export declare class InputNumber extends AntdComponent {
8383
* @type number | string
8484
*/
8585
value?: number | string;
86-
}
86+
};
8787
}

types/input/input-group.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export declare class InputGroup extends AntdComponent {
1919
* @type string
2020
*/
2121
size?: 'small' | 'large' | 'default';
22-
}
22+
};
2323
}

types/input/input-search.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ export declare class InputSearch extends AntdComponent {
1313
* @type any (boolean | slot)
1414
*/
1515
enterButton?: boolean | VNodeChild | JSX.Element;
16-
}
16+
};
1717
}

types/input/input.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ export declare class Input extends AntdComponent {
8181
* allow to remove input content with clear icon
8282
*/
8383
allowClear?: boolean;
84-
}
84+
};
8585
}

0 commit comments

Comments
 (0)