()
| 248 | } |
| 249 | |
| 250 | get types() { |
| 251 | return this.memo("types", () => |
| 252 | (this.raw as tsgo.UnionOrIntersectionType) |
| 253 | .getTypes() |
| 254 | .map(t => this.views.type(t)) |
| 255 | ) |
| 256 | } |
| 257 | |
| 258 | get value() { |
| 259 | const { value } = this.raw as tsgo.LiteralType |
no test coverage detected