refactor: interactive button

This commit is contained in:
MapleLeaf
2021-12-25 01:52:55 -06:00
parent 99430e0edc
commit 18bcf4828c
9 changed files with 145 additions and 93 deletions

View File

@@ -1,8 +1,4 @@
import { Node } from "./node.js"
export class TextNode extends Node {
export class TextNode {
readonly name = "text"
constructor(public text: string) {
super()
}
constructor(public text: string) {}
}