but you should be able to cast it: ``` val a: Node...
# javascript
r
but you should be able to cast it:
Copy code
val a: Node = object: Node(){}
val e: Element = a as Element