vercel / arg

Simple argument parsing
https://npmjs.com/arg
MIT License
1.23k stars 54 forks source link

Add `flag` and `COUNT` to TypeScript definition #28

Closed blakeembrey closed 5 years ago

blakeembrey commented 5 years ago

Updates type definition with https://github.com/zeit/arg/pull/27 support. Type definition is backward compatible. Technically the flagSymbol is not necessary for the types to still be correct, but figured it didn't hurt to add for the little pop-over information in editors like VSCode.

Qix- commented 5 years ago

LGTM :)

Qix- commented 5 years ago

Release as 4.0.1. Thank you @blakeembrey :)