Replace trait with interfaces in JavaScript stubs
This commit is contained in:
@@ -87,7 +87,7 @@ fun Appendable.render(allTypes: Map<String, GenerateTraitOrClass>, typeNamesToUn
|
||||
}
|
||||
when (iface.kind) {
|
||||
GenerateDefinitionKind.CLASS -> append("open class ")
|
||||
GenerateDefinitionKind.TRAIT -> append("trait ")
|
||||
GenerateDefinitionKind.TRAIT -> append("interface ")
|
||||
}
|
||||
|
||||
append(iface.name)
|
||||
|
||||
Reference in New Issue
Block a user