We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TextComponent#append
1 parent aeb8047 commit f68fd72Copy full SHA for f68fd72
src/TextComponent.ts
@@ -33,7 +33,7 @@ export class TextComponent extends NodeComponent<Text> {
33
*
34
* @throws {@link !DOMException} Always
35
*/
36
- public override append(...components: NodeComponent<any>[]): typeof this {
+ public override append(): typeof this {
37
throw new DOMException(`TextComponent.append: Cannot add children to a ${this.constructor.name}`);
38
}
39
0 commit comments