mirror of
https://github.com/Azure/setup-helm.git
synced 2025-09-09 21:46:29 +00:00
committed by
GitHub
parent
20d2b4f98d
commit
e4f3964f67
12
node_modules/@babel/traverse/lib/path/inference/index.js
generated
vendored
12
node_modules/@babel/traverse/lib/path/inference/index.js
generated
vendored
@ -33,10 +33,16 @@ const {
|
||||
} = _t;
|
||||
|
||||
function getTypeAnnotation() {
|
||||
if (this.typeAnnotation) return this.typeAnnotation;
|
||||
let type = this._getTypeAnnotation() || anyTypeAnnotation();
|
||||
let type = this.getData("typeAnnotation");
|
||||
|
||||
if (type != null) {
|
||||
return type;
|
||||
}
|
||||
|
||||
type = this._getTypeAnnotation() || anyTypeAnnotation();
|
||||
if (isTypeAnnotation(type)) type = type.typeAnnotation;
|
||||
return this.typeAnnotation = type;
|
||||
this.setData("typeAnnotation", type);
|
||||
return type;
|
||||
}
|
||||
|
||||
const typeAnnotationInferringNodes = new WeakSet();
|
||||
|
Reference in New Issue
Block a user