Эх сурвалжийг харах

Carbon: Remove implicit any from .d.ts

Axel Manuel 7 жил өмнө
parent
commit
d180ec5c9e

+ 1 - 1
types/component.d.ts

@@ -3,7 +3,7 @@ import Vue from 'vue'
 /** ElementUI component common definition */
 /** ElementUI component common definition */
 export declare class ElementUIComponent extends Vue {
 export declare class ElementUIComponent extends Vue {
   /** Install component into Vue */
   /** Install component into Vue */
-  static install (vue: typeof Vue)
+  static install (vue: typeof Vue): void
 }
 }
 
 
 /** Component size definition for button, input, etc */
 /** Component size definition for button, input, etc */

+ 1 - 1
types/index.d.ts

@@ -77,7 +77,7 @@ declare namespace ElementUI {
    * Please do not invoke this method directly.
    * Please do not invoke this method directly.
    * Call `Vue.use(ElementUI)` to install.
    * Call `Vue.use(ElementUI)` to install.
    */
    */
-  export function install (vue: typeof Vue, options: ElementUI.InstallationOptions)
+  export function install (vue: typeof Vue, options: ElementUI.InstallationOptions): void
 
 
   /** ElementUI component common definition */
   /** ElementUI component common definition */
   export type Component = ElementUIComponent
   export type Component = ElementUIComponent