optional TS fields
This commit is contained in:
1 parent
fa16e16e9b
commit
7241e5f26e
1 file changed
+1
-1
@@ -162,7 +162,7 @@ async function InvokeOk(path: string, method: HTMLMethod, body?: any): Promise<b
|
||||
if 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"))
|
||||
|
||||
Reference in new issue
Block a user