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

Commit afb76e6

Browse files
committed
lint fix
1 parent f3640cd commit afb76e6

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/plugins/jsx/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tt.jsxTagEnd.updateContext = function(prevType) {
4040
function isFragment(object: ?N.JSXElement): boolean {
4141
return object
4242
? object.type === "JSXOpeningFragment" ||
43-
object.type === "JSXClosingFragment"
43+
object.type === "JSXClosingFragment"
4444
: false;
4545
}
4646

src/types.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ export type Comment = {
2222
};
2323

2424
export interface NodeBase {
25-
start: number,
26-
end: number,
27-
loc: SourceLocation,
28-
range: [number, number],
29-
leadingComments?: ?Array<Comment>,
30-
trailingComments?: ?Array<Comment>,
31-
innerComments?: ?Array<Comment>,
32-
33-
extra: { [key: string]: any },
25+
start: number;
26+
end: number;
27+
loc: SourceLocation;
28+
range: [number, number];
29+
leadingComments?: ?Array<Comment>;
30+
trailingComments?: ?Array<Comment>;
31+
innerComments?: ?Array<Comment>;
32+
33+
extra: { [key: string]: any };
3434
}
3535

3636
// Using a union type for `Node` makes type-checking too slow.

0 commit comments

Comments
 (0)