From 5de14674942fb653e987efdff9c1a2222ab53e24 Mon Sep 17 00:00:00 2001 From: Alex Regan Date: Thu, 13 Sep 2018 18:10:03 -0700 Subject: [PATCH] chore: fix misspelling in comment (#576) fixes a small letter transposition in a comment --- src/productionEnum.macro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/productionEnum.macro.js b/src/productionEnum.macro.js index 7ab86fbfc..8f7ff0d75 100644 --- a/src/productionEnum.macro.js +++ b/src/productionEnum.macro.js @@ -19,7 +19,7 @@ module.exports = createMacro(({references, babel: {types: t, template}}) => { references.default.forEach(({parentPath: ref}, index) => { if (!ref.isCallExpression()) { throw new Error( - `${__filename} is supposed to be used as function call, isntead you have used it as ${ + `${__filename} is supposed to be used as function call, instead you have used it as ${ ref.node.type }.`, )