simple-oauth2
simple-oauth2 copied to clipboard
ship typings with npm package
Fixes #435
Shouldn't the wreck options be imported from that module rather than duplicated here?
@hapi/wreck ships with its typings.
@hapi/wreck ships with its typings.
My bad, I remembered it as if @types/simple-oauth2 were referencing @hapi/wreck's types, but I see not that they didn't.
Still – since this module has @hapi/wreck as a dependency, a distinct advantage over @types/simple-oauth2 would be to make use of those types then :)
Hey @Uzlopak thanks for these changes. I am not well versed in typescript typings, so I am inclined to merge your changes and publish a new major, and then refine if necessary. Any chance you could target these changes against develop?