grant
grant copied to clipboard
Minor enhancements to TypeScript Types
- [x] Add provider names enumeration.
- [x] Limit OAuth versions from
number
to1 | 2
Thanks, @justsml.
However tslint
seems to throw, either:
TS1336: An index signature parameter type cannot be a type alias.
or:
TS1337: An index signature parameter type cannot be a union type.
In the end you might be able to get it working, just note that I am trying to keep the type definitions as simple as possible.