Skip to content

Commit

Permalink
fix: use undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Feb 15, 2022
1 parent 8870837 commit f64c4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typscriptclientasync.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func renderTypescriptClientAsync(service *Service, mappings config.TypeScriptMap
retField.Value.tsType(mappings, scalars, structs, firstReturnTypeTS)
firstReturnType = firstReturnTypeTS.string()
if isNilable {
firstReturnType += "|null"
firstReturnType += "|undefined"
}
//firstReturnFieldName = retArgName
}
Expand Down

0 comments on commit f64c4e1

Please sign in to comment.