mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
vue-*: Update based on changes to vue
This commit is contained in:
Vendored
+1
-2
@@ -3,8 +3,7 @@
|
||||
// Definitions by: Kombu <https://github.com/aicest>
|
||||
// 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;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
"dependencies": {
|
||||
"vue": "^2.2.6"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as Vue from "vue";
|
||||
import Vue from "vue";
|
||||
import * as VueScrollTo from "vue-scrollto";
|
||||
|
||||
Vue.use(VueScrollTo);
|
||||
|
||||
Reference in New Issue
Block a user