DefinitelyTyped/types/vue-the-mask/index.d.ts
domschmidt 8ce9123591 Vue moment types (#38435)
* added vue the mask types

* added types for vue-moment

* added types for vue-moment

* added types for vue-moment
replaced void by undefined
2019-09-25 09:40:13 -07:00

22 lines
598 B
TypeScript

// Type definitions for vue-the-mask 0.11
// Project: https://github.com/vuejs-tips/vue-the-mask
// Definitions by: Dominik Schmidt <https://github.com/domschmidt>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
import { Component, DirectiveFunction, PluginObject } from 'vue';
declare namespace VueTheMaskPlugin {
interface VueStatic {
(): void;
}
}
interface VueTheMaskPlugin extends PluginObject<undefined> {
mask: DirectiveFunction;
TheMask: Component;
}
declare const VueTheMask: VueTheMaskPlugin;
export = VueTheMask;