"typealias" escaped in DOM API generator

This commit is contained in:
Andrey Breslav
2014-10-14 15:04:26 +04:00
parent cb9a55b375
commit d25a858214
@@ -100,7 +100,7 @@ $imports
fun propertyName(): String { fun propertyName(): String {
val answer = name.substring(3).decapitalize() val answer = name.substring(3).decapitalize()
return if (answer == "typealias") { return if (answer == "typealias") {
"typealias" "`typealias`"
} else answer } else answer
} }
fun propertyType() = simpleTypeName(method.getReturnType()) fun propertyType() = simpleTypeName(method.getReturnType())