[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
+1 -1
View File
@@ -1,4 +1,4 @@
import Vue from 'vue'
import Vue from 'vue';
export class VanComponent {
static name: string;
+2 -2
View File
@@ -8,7 +8,7 @@ import { Lazyload } from './lazyload';
import { Waterfall } from './waterfall';
import { ImagePreview } from './image-preview';
export const version: string
export const version: string;
export function install (vue: typeof Vue): void
export class Actionsheet extends VanComponent {}
export class AddressEdit extends VanComponent {}
@@ -80,4 +80,4 @@ export {
Lazyload,
Waterfall,
ImagePreview
}
};
+1 -1
View File
@@ -1,4 +1,4 @@
import Vue, { DirectiveFunction, PluginFunction } from 'vue';
import { DirectiveFunction, PluginFunction } from 'vue';
export interface Waterfall {
(type: string): DirectiveFunction;