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