Skip to content

Commit 37679b7

Browse files
committed
Merge branch 'dev'
2 parents 3079bb2 + 9146442 commit 37679b7

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

types/affix.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import { ElementUIComponent } from './component'
44
export declare class ElAffix extends ElementUIComponent {
55
offsetBottom?: number
66
offsetTop?: number
7-
target?: function
7+
target?: () => HTMLElement
88
}

types/data-mapper.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export declare class ElDataMapper extends ElementUIComponent {
99
columns:object[]
1010

1111
/** formatter col*/
12-
formatter:function (data,col,index)
12+
formatter: <T>(data: object,col: object,index: number) => T
1313

1414
/** The placeholder of data-mapper content */
1515
placeholder:string

types/element-ui.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ export const Message: ElMessage
135135
/** A set of modal boxes simulating system message box, mainly for message prompt, success tips, error messages and query information */
136136
export const MessageBox: ElMessageBox
137137

138+
/** A set of modal boxes simulating system message box center, mainly for message prompt, success tips, error messages and query information */
139+
export const MessageBoxCenter: ElMessageBoxCenter
140+
138141
/** Displays a global notification message at the upper right corner of the page */
139142
export const Notification: ElNotification
140143

@@ -371,9 +374,6 @@ export class LrContainer extends ElLrContainer {}
371374
/** LoadingButton Component */
372375
export class LoadingButton extends ElLoadingButton {}
373376

374-
/** MessageBoxCenter Component */
375-
export class MessageBoxCenter extends ElMessageBoxCenter {}
376-
377377
/** TabsDotted Component */
378378
export class TabsDotted extends ElTabsDotted {}
379379

types/loading-button.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { ElButton } from './button'
22

33
/** LoadingButton Component */
44
export declare class ElLoadingButton extends ElButton {
5-
loadingClick: function(): Promise<any>
5+
loadingClick: () => Promise<any>
66
}

types/panel.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export declare class ElPanel extends ElementUIComponent {
1414

1515
/** bodyPadding */
1616
bodyPadding: string
17-
|
17+
1818
/** Panel width */
1919
width: string | number
2020
}

0 commit comments

Comments
 (0)