grant icon indicating copy to clipboard operation
grant copied to clipboard

Minor enhancements to TypeScript Types

Open justsml opened this issue 2 years ago • 1 comments

  • [x] Add provider names enumeration.
  • [x] Limit OAuth versions from number to 1 | 2

justsml avatar Jul 24 '21 19:07 justsml

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.

simov avatar Jul 25 '21 15:07 simov