IdentityModel / oidc-token-manager

Apache License 2.0
51 stars 36 forks source link

TypeScript definition #33

Closed rosieks closed 8 years ago

rosieks commented 8 years ago

Could you provide typescript definition for this library?

brockallen commented 8 years ago

If you provide it, I can include it (however that's done).

rosieks commented 8 years ago

Ok, I will try to prepare such definition.

esugoi commented 8 years ago

Hello, I'v made a dts file some time ago and it seems to be working until now. If it is any help to you, here are the files. I made one for the oidc client and another for the token manager. oidc-token-manager.txt oidc-client.txt

best regards. :)

Oh, I forgot I changed to use the ES6 Promise instead.

rosieks commented 8 years ago

I have made pull request for this one: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/7705

brockallen commented 8 years ago

Cool, thanks. How do we keep it in sync if we were to do any updates?

rosieks commented 8 years ago

The only way is to make pull requests to DefinitelyTyped.

brockallen commented 8 years ago

Ok, good to know.

tonyeung commented 8 years ago

this is done