Replace trait with interfaces in JavaScript stubs

This commit is contained in:
Sergey Mashkov
2015-05-19 13:09:56 +03:00
parent 9b24a9b73b
commit 4695aed993
10 changed files with 354 additions and 354 deletions
@@ -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)