appmetrics
appmetrics copied to clipboard
instanceof Promise always false
trafficstars
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'?