Add type annotations to utility file.

This commit is contained in:
Logan Smyth 2017-12-19 15:35:34 -08:00
parent 4f53496546
commit b2f1d01965

View File

@ -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 ` +