[Improvement] add type definition files (#361)

This commit is contained in:
neverland
2017-11-29 18:00:08 +08:00
committed by GitHub
parent c8915d3984
commit 121e2de375
12 changed files with 153 additions and 4 deletions

8
types/waterfall.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
import Vue, { DirectiveFunction, PluginFunction } from 'vue';
export interface Waterfall {
(type: string): DirectiveFunction;
install: PluginFunction<void>
}
export const Waterfall: Waterfall;