From 6106086a35dee3314aa41713190732ed4f2bbd36 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 21 May 2019 16:44:18 +0700 Subject: [PATCH] Revert "Drop duplicate export (#84)" This reverts commit 28913cae88026e785658256c0d89eaf3c8101fd6. Closes #89 Fixes #88 --- source/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/index.ts b/source/index.ts index 8b0de49..4cd388d 100644 --- a/source/index.ts +++ b/source/index.ts @@ -385,5 +385,8 @@ Object.defineProperties(is, { } }); -module.exports = is; // For CommonJS default export support export default is; + +// For CommonJS default export support +module.exports = is; +module.exports.default = is;