Skip to content

Commit

Permalink
supporting uint in typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Neznaykin committed Aug 11, 2022
1 parent 119d0f4 commit ba6f50f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion codegen/typescript/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ var tsTypesMap = map[string]string{
"int": "number",
"int32": "number",
"int64": "number", // TODO: must be string
"uint16": "number",
"uint": "number",
"uint16": "number",
"uint32": "number",
"uint64": "number",
"float": "number",
"bool": "boolean",
"interface{}": "any",
Expand Down

0 comments on commit ba6f50f

Please sign in to comment.