Carbon: Remove implicit any from .d.ts

This commit is contained in:
Axel Manuel 2017-10-26 17:20:20 +02:00 committed by 杨奕
parent 6a172c758b
commit d180ec5c9e
2 changed files with 2 additions and 2 deletions

View File

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

2
types/index.d.ts vendored
View File

@ -77,7 +77,7 @@ declare namespace ElementUI {
* Please do not invoke this method directly.
* 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 */
export type Component = ElementUIComponent