Real ESM export to fool eslint#import/default

This commit is contained in:
Federico Brigante 2019-05-16 17:23:32 +08:00 committed by GitHub
parent e4b9bcda87
commit cd6949dd83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -385,8 +385,8 @@ Object.defineProperties(is, {
}
});
export = is;
// ES module compatibility
// TODO: Remove this for the next major release
is.default = is;
export = is;
exports default is;