flow-remove-types 2.204.0 → 2.205.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -162,6 +162,7 @@ var removeFlowVisitor = {
162
162
  InterfaceDeclaration: removeNode,
163
163
  TypeAlias: removeNode,
164
164
  TypeAnnotation: removeNodeIfNotCommentType,
165
+ TypePredicate: removeNodeIfNotCommentType,
165
166
  TypeParameterDeclaration: removeNode,
166
167
  TypeParameterInstantiation: removeNode,
167
168
  InferredPredicate: removeNode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-remove-types",
3
- "version": "2.204.0",
3
+ "version": "2.205.0",
4
4
  "description": "Removes Flow type annotations from JavaScript files with speed and simplicity.",
5
5
  "author": {
6
6
  "name": "Flow Team",
@@ -44,7 +44,7 @@
44
44
  "es6"
45
45
  ],
46
46
  "dependencies": {
47
- "flow-parser": "^0.204.0",
47
+ "flow-parser": "^0.205.0",
48
48
  "pirates": "^3.0.2",
49
49
  "vlq": "^0.2.1"
50
50
  },