Maintain inheritance from merging classes

This commit is contained in:
2025-07-20 18:50:38 +02:00
parent 3821952bbf
commit c8961471e4
3 changed files with 57 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
--luacheck: ignore 212 111
---@diagnostic disable: missing-return, lowercase-global
---@class {{.ClassName}}
---@class {{.ClassName}}{{if ne .Inheritance ""}} : {{.Inheritance}}{{end}}
{{- range .Fields}}
---@field {{.Name}} {{.Type}}{{if ne .Comment ""}} {{.Comment}}{{end}}
{{- end}}