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
10
node_modules/@babel/generator/lib/generators/methods.js
generated
vendored
10
node_modules/@babel/generator/lib/generators/methods.js
generated
vendored
@ -42,7 +42,11 @@ function _parameters(parameters, parent) {
|
||||
function _param(parameter, parent) {
|
||||
this.printJoin(parameter.decorators, parameter);
|
||||
this.print(parameter, parent);
|
||||
if (parameter.optional) this.token("?");
|
||||
|
||||
if (parameter.optional) {
|
||||
this.token("?");
|
||||
}
|
||||
|
||||
this.print(parameter.typeAnnotation, parameter);
|
||||
}
|
||||
|
||||
@ -111,7 +115,9 @@ function _functionHead(node) {
|
||||
|
||||
this._params(node);
|
||||
|
||||
this._predicate(node);
|
||||
if (node.type !== "TSDeclareFunction") {
|
||||
this._predicate(node);
|
||||
}
|
||||
}
|
||||
|
||||
function FunctionExpression(node) {
|
||||
|
Reference in New Issue
Block a user