Install TypeScript definitions for jQuery Mask Plugin
masterTo use the plugin with TypeScript, install the type definitions based on your TypeScript version:
For TypeScript 2.x users
Use npm to install the @types package:
npm install --save-dev @types/jquery-mask-pluginFor TypeScript 1.x users
- Install
typingsglobally:
npm install typings --global- Install the definition via typings:
typings install dt~jquery-mask-plugin --global --save