diff options
Diffstat (limited to 'node_modules/@babel/traverse/lib/path/inference/index.js')
| -rw-r--r-- | node_modules/@babel/traverse/lib/path/inference/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/@babel/traverse/lib/path/inference/index.js b/node_modules/@babel/traverse/lib/path/inference/index.js index 8e1b0b9f..c52eb7da 100644 --- a/node_modules/@babel/traverse/lib/path/inference/index.js +++ b/node_modules/@babel/traverse/lib/path/inference/index.js @@ -38,7 +38,7 @@ function getTypeAnnotation() { if (type != null) { return type; } - type = this._getTypeAnnotation() || anyTypeAnnotation(); + type = _getTypeAnnotation.call(this) || anyTypeAnnotation(); if (isTypeAnnotation(type) || isTSTypeAnnotation(type)) { type = type.typeAnnotation; } |
