add some more flow types
This commit is contained in:
@@ -118,7 +118,7 @@ pp.processComment = function (node) {
|
||||
// result in an empty array, and if so, the array must be
|
||||
// deleted.
|
||||
node.leadingComments = this.state.leadingComments.slice(0, i);
|
||||
if (node.leadingComments.length === 0) {
|
||||
if ((node.leadingComments: Array<any>).length === 0) {
|
||||
node.leadingComments = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user