catamphetamine / libphonenumber-js

A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
https://catamphetamine.gitlab.io/libphonenumber-js/
MIT License
2.77k stars 217 forks source link

TypeScript type definitions for return types of getNumberType and getNumberTypeCustom #177

Closed atsu85 closed 6 years ago

atsu85 commented 6 years ago

Add TypeScript String Literal Type NumberType to indicate valid return values of getNumberType and getNumberTypeCustom

atsu85 commented 6 years ago

prepared the PR to resolve this issue.