balena-io-modules / pinejs-client-js

4 stars 4 forks source link

Allow passing in the promise types in order to get a correctly typed promise returned #38

Closed Page- closed 7 years ago

Page- commented 7 years ago

This allows us to specify the promise as eg a bluebird promise when initialising the class and not have to constantly cast the results if we want to use sugar functions