| 78 | interface XFourth extends WebCell<XFourthProps> {} |
| 79 | |
| 80 | @component({ tagName: 'x-fourth' }) |
| 81 | @observer |
| 82 | class XFourth extends HTMLElement implements WebCell<XFourthProps> { |
| 83 | @attribute |
| 84 | @observable |
| 85 | accessor name: string | undefined; |
| 86 | |
| 87 | render() { |
| 88 | return <h2>{this.name}</h2>; |
| 89 | } |
| 90 | } |
| 91 | renderer.render(<XFourth />); |
| 92 | |
| 93 | const tag = document.body.lastElementChild as XFourth; |
nothing calls this directly
no test coverage detected