From b2f1d01965653750615f631af75b624f6b00847a Mon Sep 17 00:00:00 2001 From: Logan Smyth Date: Tue, 19 Dec 2017 15:35:34 -0800 Subject: [PATCH] Add type annotations to utility file. --- .../src/transformation/util/missing-plugin-helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/babel-core/src/transformation/util/missing-plugin-helper.js b/packages/babel-core/src/transformation/util/missing-plugin-helper.js index 0cc73a4a46..0d029e71eb 100644 --- a/packages/babel-core/src/transformation/util/missing-plugin-helper.js +++ b/packages/babel-core/src/transformation/util/missing-plugin-helper.js @@ -208,8 +208,8 @@ to enable [parsing|transformation]. */ export default function generateMissingPluginMessage( missingPluginName: string, - loc, - codeFrame, + loc: { line: number, column: number }, + codeFrame: string, ): string { let helpMessage = `Support for the experimental syntax '${missingPluginName}' isn't currently enabled ` +