UNPKG

use-on-demand

Version:
35 lines (24 loc) 1.11 kB
// import Vue from 'vue' // // declare module 'vue/types/vue' { // interface VueConstructor { // install(vue: Vue): void; // $i18n_t?: (key: string) => string; // } // } import CliService from '@vue/cli-service'; import { PropOptions } from 'vue'; import { Vue } from 'vue/types/vue'; import { VueConstructor } from 'vue'; import { DirectiveBinding, DirectiveFunction, DirectiveOptions } from 'vue/types/options'; import { Configuration as WebpackOptions } from 'webpack'; declare global { type PropOptionsType<T> = PropOptions<T>; type Vue_Type = Vue; type VueConstructor_Type<T extends Vue = Vue> = VueConstructor<T>; type VueDirective_Type = DirectiveFunction | DirectiveOptions; type DirectiveFunction_Type = DirectiveFunction; type DirectiveBinding_Type = DirectiveBinding; type VueCliService_ProjectOptions_Type = CliService.ProjectOptions; type WebpackOptions_Type = WebpackOptions; }