diff --git a/packages/babel-traverse/src/path/index.js b/packages/babel-traverse/src/path/index.js index e34a2f4d328d..9269a0807cde 100644 --- a/packages/babel-traverse/src/path/index.js +++ b/packages/babel-traverse/src/path/index.js @@ -45,7 +45,6 @@ export default class NodePath { this.key = null; this.node = null; this.scope = null; - this.typeAnnotation = null; } parent: Object; @@ -67,7 +66,6 @@ export default class NodePath { node: ?Object; scope: Scope; type: ?string; - typeAnnotation: ?Object; static get({ hub, parentPath, parent, container, listKey, key }): NodePath { if (!hub && parentPath) {