You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
760 B
TypeScript

/* eslint-disable @typescript-eslint/no-unused-vars */
/*
* @Author: zhou lei
* @Date: 2022-01-21 09:23:56
* @LastEditTime: 2022-01-21 11:47:17
* @LastEditors: zhou lei
* @Description:
* @FilePath: /wms_haiwai_app/types/vue-prototype.d.ts
* :910592680@qq.com 18669792120
*/
import Vue from 'vue';
// 在 types/vue.d.ts 里 Vue 有构造函数类型
declare module 'vue/types/vue' {
interface Vue {
// $myProperty: string;
/**
*
* @param {string} msg
* @param {string} [type='toast']
* @param {string} [title='']
* @memberof Vue
*/
customToast(msg: string, type?: string = 'toast', title?: string = ''): void;
}
}