Explorar el Código

Alert: update type definition (#15186)

hetech hace 6 años
padre
commit
52959d0630
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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
 }