diff --git a/types/vue-i18n/index.d.ts b/types/vue-i18n/index.d.ts index 02174cb784..19225a83dd 100644 --- a/types/vue-i18n/index.d.ts +++ b/types/vue-i18n/index.d.ts @@ -3,8 +3,7 @@ // Definitions by: Kombu // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as Vue from 'vue'; -import { PluginFunction } from 'vue'; +import Vue, { PluginFunction } from 'vue'; declare namespace VueI18n { type Path = string; diff --git a/types/vue-i18n/package.json b/types/vue-i18n/package.json index c799230c79..2127792b46 100644 --- a/types/vue-i18n/package.json +++ b/types/vue-i18n/package.json @@ -3,4 +3,4 @@ "dependencies": { "vue": "^2.2.6" } -} \ No newline at end of file +} diff --git a/types/vue-i18n/tsconfig.json b/types/vue-i18n/tsconfig.json index 01d16389e6..a95a81b1d0 100644 --- a/types/vue-i18n/tsconfig.json +++ b/types/vue-i18n/tsconfig.json @@ -2,7 +2,8 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6" + "es6", + "dom" ], "noImplicitAny": true, "noImplicitThis": true, diff --git a/types/vue-i18n/vue-i18n-tests.ts b/types/vue-i18n/vue-i18n-tests.ts index 7ff9dab6e1..693b069f52 100644 --- a/types/vue-i18n/vue-i18n-tests.ts +++ b/types/vue-i18n/vue-i18n-tests.ts @@ -3,9 +3,8 @@ const assert = console.assert; const random = () => Math.trunc(Math.exp(Math.log(Date.now()) * Math.random())); -import * as Vue from 'vue'; +import Vue, { ComponentOptions } from 'vue'; import * as VueI18n from 'vue-i18n'; -import { ComponentOptions } from 'vue'; /** * VueI18n.install diff --git a/types/vue-scrollto/vue-scrollto-tests.ts b/types/vue-scrollto/vue-scrollto-tests.ts index 55b4d32305..3ca628823b 100644 --- a/types/vue-scrollto/vue-scrollto-tests.ts +++ b/types/vue-scrollto/vue-scrollto-tests.ts @@ -1,4 +1,4 @@ -import * as Vue from "vue"; +import Vue from "vue"; import * as VueScrollTo from "vue-scrollto"; Vue.use(VueScrollTo);