hermes-parser 0.31.0 → 0.32.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.
@@ -59,7 +59,7 @@ class HermesASTAdapter {
59
59
 
60
60
  if (resultNode.type !== 'Program') {
61
61
  throw new Error(`HermesToESTreeAdapter: Must return a Program node, instead of "${resultNode.type}". `);
62
- } // $FlowExpectedError[incompatible-return] We know this is a program at this point.
62
+ } // $FlowExpectedError[incompatible-type] We know this is a program at this point.
63
63
 
64
64
 
65
65
  return resultNode;
@@ -65,7 +65,7 @@ export default class HermesASTAdapter {
65
65
  );
66
66
  }
67
67
 
68
- // $FlowExpectedError[incompatible-return] We know this is a program at this point.
68
+ // $FlowExpectedError[incompatible-type] We know this is a program at this point.
69
69
  return resultNode;
70
70
  }
71
71