Fix typo in flow spread operator error [skip ci]
This commit is contained in:
parent
b98f463aa7
commit
1077a7304e
@ -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) {
|
||||
|
||||
@ -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)"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user