diff --git a/ui2abc/libarkts/src/arkts-api/peers/AstNode.ts b/ui2abc/libarkts/src/arkts-api/peers/AstNode.ts index 5e55ee904f8df62c0fca9c3becb62333dd704900..d6f9ec93be26cf7d04aeba5fa43b268a26b7305b 100644 --- a/ui2abc/libarkts/src/arkts-api/peers/AstNode.ts +++ b/ui2abc/libarkts/src/arkts-api/peers/AstNode.ts @@ -59,12 +59,11 @@ export abstract class AstNode extends ArktsObject { ) } - public updateChildren(): this { + public updateChildren(): void { if (this.peer === nullptr) { throwError('updateChildren called on NULLPTR') } global.es2panda._AstNodeUpdateChildren(global.context, this.peer) - return this } public updateModifiers(modifierFlags: KInt | undefined): this {