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 Daniel Tschinder
parent b98f463aa7
commit 1077a7304e
No known key found for this signature in database
GPG Key ID: 46A883CAEC8A94BD
2 changed files with 2 additions and 2 deletions

View File

@ -451,7 +451,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) {

View File

@ -1,3 +1,3 @@
{
"throws": "Spread operator cannnot appear in class or interface definitions (2:1)"
"throws": "Spread operator cannot appear in class or interface definitions (2:1)"
}