[improvement] entry file ts (#2802)

This commit is contained in:
neverland
2019-02-20 11:37:02 +08:00
committed by GitHub
parent 5c7c14d8df
commit 0ddafc77d8
6 changed files with 22 additions and 8 deletions
+8 -1
View File
@@ -1,5 +1,6 @@
/* eslint-disable */
// This file is auto gererated by build/build-entry.js
import { VueConstructor } from 'vue/types';
import Actionsheet from './actionsheet';
import AddressEdit from './address-edit';
import AddressList from './address-list';
@@ -73,6 +74,12 @@ import TreeSelect from './tree-select';
import Uploader from './uploader';
import Waterfall from './waterfall';
declare global {
interface Window {
Vue?: VueConstructor;
}
}
const version = '1.6.5';
const components = [
Actionsheet,
@@ -146,7 +153,7 @@ const components = [
Uploader
];
const install = Vue => {
const install = (Vue: VueConstructor) => {
components.forEach(Component => {
Vue.use(Component);
});