Skip to content

Commit f68fd72

Browse files
committed
remove ignored parameters from TextComponent#append
1 parent aeb8047 commit f68fd72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TextComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class TextComponent extends NodeComponent<Text> {
3333
*
3434
* @throws {@link !DOMException} Always
3535
*/
36-
public override append(...components: NodeComponent<any>[]): typeof this {
36+
public override append(): typeof this {
3737
throw new DOMException(`TextComponent.append: Cannot add children to a ${this.constructor.name}`);
3838
}
3939

0 commit comments

Comments
 (0)