Fix typo in flow spread operator error [skip ci]

This commit is contained in:
Brian Ng 2017-04-10 10:48:51 -05:00 committed by GitHub
parent 344f070445
commit 637119a017

View File

@ -454,7 +454,7 @@ pp.flowParseObjectType = function (allowStatic, allowExact, allowSpread) {
if (!allowSpread) {
this.unexpected(
null,
"Spread operator cannnot appear in class or interface definitions"
"Spread operator cannot appear in class or interface definitions"
);
}
if (variance) {