optional TS fields
parent
fa16e16e9b
commit
7241e5f26e
|
@ -162,7 +162,7 @@ async function InvokeOk(path: string, method: HTMLMethod, body?: any): Promise<b
|
||||||
if f.Desc != "" {
|
if f.Desc != "" {
|
||||||
b.WriteString(fmt.Sprintf("\t/**\n%s*/\n", f.Desc))
|
b.WriteString(fmt.Sprintf("\t/**\n%s*/\n", f.Desc))
|
||||||
}
|
}
|
||||||
b.WriteString(fmt.Sprintf("\t%s:%s\n", strings.ToLower(kf), ftype))
|
b.WriteString(fmt.Sprintf("\t%s ?: %s\n", strings.ToLower(kf), ftype))
|
||||||
}
|
}
|
||||||
|
|
||||||
b.WriteString(fmt.Sprintf("}\n\n"))
|
b.WriteString(fmt.Sprintf("}\n\n"))
|
||||||
|
|
Loading…
Reference in New Issue