Fix typo [skip ci] (#7229)

This commit is contained in:
Luca 2018-01-17 19:43:59 +01:00 committed by Henry Zhu
parent b5d20ab171
commit 5ac8ba19a4

View File

@ -30,7 +30,7 @@ export function _call(fns?: Array<Function>): boolean {
const ret = fn.call(this.state, this, this.state);
if (ret && typeof ret === "object" && typeof ret.then === "function") {
throw new Error(
`You appear to be using an plugin with an async traversay visitors, ` +
`You appear to be using a plugin with an async traversal visitor, ` +
`which your current version of Babel does not support.` +
`If you're using a published plugin, you may need to upgrade ` +
`your @babel/core version.`,