From cd6949dd8300a82ba702847fd2b09536f5ae7f37 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Thu, 16 May 2019 17:23:32 +0800 Subject: [PATCH] Real ESM export to fool `eslint#import/default` --- source/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/index.ts b/source/index.ts index 6c92c57..41c7336 100644 --- a/source/index.ts +++ b/source/index.ts @@ -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;