mirror of https://github.com/coder/coder.git
fix: Add more golang types -> number ts type (#1108)
This commit is contained in:
parent
95a24cb43a
commit
e181007de1
|
@ -183,7 +183,7 @@ func toTsType(fieldType string) string {
|
|||
switch fieldType {
|
||||
case "bool":
|
||||
return "boolean"
|
||||
case "uint64", "uint32", "float64":
|
||||
case "int", "int8", "int16", "int32", "int64", "uint", "uint8", "uint16", "uint32", "uint64", "uintptr", "float32", "float64":
|
||||
return "number"
|
||||
}
|
||||
|
||||
|
|
|
@ -73,8 +73,8 @@ export interface TemplateVersion {
|
|||
// From codersdk/users.go:17:6.
|
||||
export interface UsersRequest {
|
||||
readonly search: string
|
||||
readonly limit: int
|
||||
readonly offset: int
|
||||
readonly limit: number
|
||||
readonly offset: number
|
||||
}
|
||||
|
||||
// From codersdk/users.go:32:6.
|
||||
|
|
Loading…
Reference in New Issue