Skip to content

Commit bb94f54

Browse files
committed
chore(types): ts type declare err
1 parent f443001 commit bb94f54

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

types/cube-ui.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ export class Form extends CubeUIComponent {}
7777
// popup
7878
/** Popup Component */
7979
export class Popup extends CubeUIComponent {
80-
show()
81-
hide()
82-
remove()
80+
show(): any
81+
hide(): any
82+
remove(): any
8383
}
8484
/** Toast Component */
8585
export class Toast extends Popup {}
@@ -101,8 +101,8 @@ export class ActionSheet extends Popup {}
101101
export class ImagePreview extends Popup {}
102102
/** Drawer Component */
103103
export class Drawer extends CubeUIComponent {
104-
show()
105-
hide()
104+
show(): void
105+
hide(): void
106106
}
107107
// scroll
108108
/** Scroll Component */

0 commit comments

Comments
 (0)