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
never
1 parent 64ebe28 commit f9d25b7Copy full SHA for f9d25b7
src/TextComponent.ts
@@ -33,7 +33,7 @@ export class TextComponent extends NodeComponent<Text> {
33
*
34
* @throws {@link !DOMException} Always
35
*/
36
- public override append(): typeof this {
+ public override append(): never {
37
throw new DOMException(`NodeComponent.append: Cannot add children to a ${this.constructor.name}`);
38
}
39
0 commit comments