typegen: fix function and signal parameters being sorted by name
This commit is contained in:
parent
c1c349caaa
commit
a036d378c0
3 changed files with 23 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
{{- $first := true -}}
|
||||
{{- range $param, $type := . -}}
|
||||
{{- range $param := . -}}
|
||||
{{- if ne $first true -}}, {{ end -}}
|
||||
{{- $first = false -}}
|
||||
{{ $param }}: {{ partial "qmltype.html" $type }}
|
||||
{{- end -}}
|
||||
{{ $param.name }}: {{ partial "qmltype.html" $param.type }}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue