The documentation says;
external class Node {
val firstChild: Nodefun append(child: Node): Node
fun removeChild(child: Node): Node
// etc
}
I put this;
external class Potato
{}
The IDE says,
“Modifier ‘external’ is not applicable to ‘class’”
What gives?