fix: TS conversion of interface{}

This commit is contained in:
Lea Anthony
2022-05-11 08:21:17 +10:00
parent f2f8ed2e99
commit 55115742c1
+1 -1
View File
@@ -104,7 +104,7 @@ func (b *Bindings) GenerateGoBindings(baseDir string) error {
func goTypeToJSDocType(input string, importNamespaces *slicer.StringSlicer) string {
switch true {
case input == "interface{}":
case input == "interface {}":
return "any"
case input == "string":
return "string"