Przeglądaj źródła

types: add missing definition

Jingkun Hua 7 lat temu
rodzic
commit
6db51156b1
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      types/element-ui.d.ts

+ 5 - 1
types/element-ui.d.ts

@@ -68,9 +68,13 @@ import { ElUpload } from './upload'
 
 export interface InstallationOptions {
   locale: any,
-  i18n: any
+  i18n: any,
+  size: string
 }
 
+/** The version of element-ui */
+export const version: string
+
 /**
  * Install all element-ui components into Vue.
  * Please do not invoke this method directly.