Inputmask: [request] Provide TypeScript definitions

Created on 20 Jul 2018  路  4Comments  路  Source: RobinHerbots/Inputmask

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

Enhancement / Feature

Most helpful comment

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

All 4 comments

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

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings