10
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2026-04-19 04:29:51 +00:00

v3 new release (#84)

swap to graphql
This commit is contained in:
github-actions[bot] 2022-07-11 13:48:02 -04:00 committed by GitHub
parent 20d2b4f98d
commit e4f3964f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1492 changed files with 63799 additions and 63001 deletions

View file

@ -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();

View file

@ -202,5 +202,5 @@ function getConditionalAnnotation(binding, path, name) {
};
}
return getConditionalAnnotation(ifStatement, name);
return getConditionalAnnotation(binding, ifStatement, name);
}

View file

@ -87,7 +87,7 @@ function TypeCastExpression(node) {
TypeCastExpression.validParent = true;
function NewExpression(node) {
if (this.get("callee").isIdentifier()) {
if (node.callee.type === "Identifier") {
return genericTypeAnnotation(node.callee);
}
}