mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
@@ -337,6 +337,7 @@ type TypescriptType struct {
|
||||
// typescriptType this function returns a typescript type for a given
|
||||
// golang type.
|
||||
// Eg:
|
||||
//
|
||||
// []byte returns "string"
|
||||
func (g *Generator) typescriptType(ty types.Type) (TypescriptType, error) {
|
||||
switch ty := ty.(type) {
|
||||
|
||||
Reference in New Issue
Block a user