mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
feat: refactor deployment config (#6347)
This commit is contained in:
@ -710,6 +710,8 @@ func (g *Generator) typescriptType(ty types.Type) (TypescriptType, error) {
|
||||
return TypescriptType{ValueType: "string"}, nil
|
||||
case "encoding/json.RawMessage":
|
||||
return TypescriptType{ValueType: "Record<string, string>"}, nil
|
||||
case "github.com/coder/coder/cli/clibase.URL":
|
||||
return TypescriptType{ValueType: "string"}, nil
|
||||
}
|
||||
|
||||
// Then see if the type is defined elsewhere. If it is, we can just
|
||||
|
Reference in New Issue
Block a user