ast-types-flow
Advanced tools
Comparing version
@@ -22,2 +22,14 @@ /** | ||
trailing: boolean; | ||
} | { | ||
type: 'CommentLine'; | ||
_CommentLine: void; | ||
value: string; | ||
leading: boolean; | ||
trailing: boolean; | ||
} | { | ||
type: 'CommentBlock'; | ||
_CommentBlock: void; | ||
value: string; | ||
leading: boolean; | ||
trailing: boolean; | ||
}; | ||
@@ -43,2 +55,20 @@ | ||
// --babel | ||
export type CommentLine = { | ||
type: 'CommentLine'; | ||
_CommentLine: void; | ||
value: string; | ||
leading: boolean; | ||
trailing: boolean; | ||
}; | ||
// --babel | ||
export type CommentBlock = { | ||
type: 'CommentBlock'; | ||
_CommentBlock: void; | ||
value: string; | ||
leading: boolean; | ||
trailing: boolean; | ||
}; | ||
// Base types. | ||
@@ -45,0 +75,0 @@ |
{ | ||
"name": "ast-types-flow", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Flow types for the Javascript AST", | ||
@@ -5,0 +5,0 @@ "main": "lib/types.js", |
64829
0.8%2659
1.06%