"typealias" escaped in DOM API generator
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user