[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
+2 -2
View File
@@ -4,11 +4,11 @@ import VueToast from './toast';
let instance;
const defaultOptions = {
visible: true,
type: 'text',
mask: false,
position: 'middle',
visible: true,
duration: 3000,
position: 'middle',
forbidClick: false,
clear: () => {
instance.visible = false;