Result of parsePhoneNumber is not instanceof PhoneNumber
Thank you for the great library,
I have a small issue when trying to use the exported PhoneNumber class to check if a result is an instanceof PhoneNumber
import parse, { PhoneNumber } from "libphonenumber-js";
console.log( parse( "+1 213 373 4253" ) instanceof PhoneNumber ); // false
The result of parse has the correct shape and methods, I suspect name mangling may occur in the build step.
This is an issue for me when trying to narrow unknown / any variable types using a "naive" instanceof check.
If there is a recommended way to check if an object is "PhoneNumber-like" or ideally if the class could match that'd be great!
Thanks again