Skip to content
This repository was archived by the owner on May 19, 2018. It is now read-only.

Commit 950632a

Browse files
existentialismdanez
authored andcommitted
Fix typo in flow spread operator error [skip ci]
1 parent b98f463 commit 950632a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/flow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ pp.flowParseObjectType = function (allowStatic, allowExact, allowSpread) {
451451
if (!allowSpread) {
452452
this.unexpected(
453453
null,
454-
"Spread operator cannnot appear in class or interface definitions"
454+
"Spread operator cannot appear in class or interface definitions"
455455
);
456456
}
457457
if (variance) {

0 commit comments

Comments
 (0)