Procházet zdrojové kódy

Alert: update type definition (#15186)

hetech před 6 roky
rodič
revize
52959d0630
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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
 }