Closed mytlogos closed 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'?
Ok, this seems to be the wrong place for this, as it should be an issue of 'appmetric' and not this module.
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'?