Skip to content

Commit

Permalink
remove getter/setter
Browse files Browse the repository at this point in the history
  • Loading branch information
timreichen committed Aug 9, 2024
1 parent 9df2d08 commit 71617e2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/dom/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,13 +631,6 @@ export class Text extends CharacterData {
_shallowClone(): Node {
return new Text(this.textContent);
}

get textContent(): string {
return <string> this.nodeValue;
}
set textContent(value) {
this.nodeValue = value;
}
}

export class Comment extends CharacterData {
Expand Down

0 comments on commit 71617e2

Please sign in to comment.