Real ESM export to fool eslint#import/default
This commit is contained in:
parent
e4b9bcda87
commit
cd6949dd83
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue