diff --git a/scripts/build/create-overloads.ts b/scripts/build/create-overloads.ts index 563ae50b91d..eafcf164948 100644 --- a/scripts/build/create-overloads.ts +++ b/scripts/build/create-overloads.ts @@ -178,7 +178,7 @@ function keepPublicFunctionsTransformer( overloads.push( factory.updateFunctionDeclaration( node, - (ts.canHaveDecorators(node) ? ts.getDecorators(node) : []), + ts.canHaveDecorators(node) ? ts.getDecorators(node) : [], node.asteriskToken, node.name, node.typeParameters,