Browse Source

Alert: update type definition (#15186)

hetech 6 years ago
parent
commit
52959d0630
1 changed files with 2 additions and 2 deletions
  1. 2 2
      types/alert.d.ts

+ 2 - 2
types/alert.d.ts

@@ -26,6 +26,6 @@ export declare class ElAlert extends ElementUIComponent {
   /** If a type icon is displayed */
   showIcon: boolean
 
-  /** Choose theme */
-  theme: AlertEffect
+  /** Choose effect */
+  effect: AlertEffect
 }