RobinHerbots / Inputmask

Input Mask plugin
https://robinherbots.github.io/Inputmask/
MIT License
6.39k stars 2.17k forks source link

[request] Provide TypeScript definitions #1939

Open movedoa opened 6 years ago

movedoa commented 6 years ago

Would be really nice, there was at least one attept by the community but this was very basic and never finished.

WoodsyUX commented 5 years ago

Typescript definitions would be amazing to have. I was wondering if this feature will be available?

dmester commented 5 years ago

I have just submitted type definitions to DefinitelyTyped for inputmask 4.x. They should cover the features documented in the readme if I didn't miss something.

npm i @types/inputmask
qodeboy commented 3 years ago

This is no longer up to date. Latest tag pushed to @types/inputmask is 4.0.3.

dmester commented 3 years ago

There is a pending pull request updating @types/inputmask to v5.0.4.

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/50204

Anyone up for code review?


Edit: the PR is now merged and available on npm.