This is a first pass at rewriting the whole library in TS.
If you want immediate utility out of this PR, you could cherry pick commit 59e19b0 which has 90% of all the type declarations in a types folder which mirror the existing JS structure. All you would need to do is add a "types" key to the package.json file and point at the types folder.
This is a first pass at rewriting the whole library in TS.
If you want immediate utility out of this PR, you could cherry pick commit
59e19b0
which has 90% of all the type declarations in atypes
folder which mirror the existing JS structure. All you would need to do is add a"types"
key to thepackage.json
file and point at the types folder.Otherwise, things still
TODO
:exchange-code-for-token.js
(w/ accompanying.d.ts
fileget-auth-urls.js
(w/ accompanying.d.ts
filetokens.js
(w/ accompanying.d.ts
filePromise<unknown>
)package.json