We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abec259 commit 69f5060Copy full SHA for 69f5060
src/main/kotlin/generator/LuaEmitter.kt
@@ -86,13 +86,12 @@ class LuaEmitter {
86
87
fun emitAvailableImports(parsedClasses: List<ParsedClass>): String {
88
val sb = StringBuilder()
89
- sb.appendLine("---@alias JavaClasses")
+ sb.appendLine("---@alias JavaClasses string|")
90
parsedClasses.forEach { parsedClass ->
91
val fullName = "${parsedClass.packageName}.${parsedClass.name}"
92
- sb.appendLine("---| '\"$fullName\"'")
+ sb.appendLine("---| '\"$fullName\"' ")
93
}
94
// Add normal string to the alias as to not cause warnings when someone uses an import not in the list
95
- sb.appendLine("---| string")
96
return sb.toString()
97
98
0 commit comments