Open mytlogos opened 5 years ago
As this module seems to wrap the native Promise in NodeJs? the 'promise instanceof Promise' check will always return false.
I used a 'promise.then' check as a replacement, but typescript does not seem to accept it readily.
Is there a way to still use 'instanceof Promise'?
As this module seems to wrap the native Promise in NodeJs? the 'promise instanceof Promise' check will always return false.
I used a 'promise.then' check as a replacement, but typescript does not seem to accept it readily.
Is there a way to still use 'instanceof Promise'?