Skip to content

Commit 710b427

Browse files
committed
Add comment
1 parent 28c2811 commit 710b427

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/apitypings/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,12 @@ func (g *Generator) typescriptType(obj types.Object, ty types.Type) (string, str
295295
return name, "", nil
296296
}
297297

298+
// These are special types that we handle uniquely.
298299
switch n.String() {
299300
case "net/url.URL":
300301
return "string", "", nil
301302
case "time.Time":
302303
return "string", "is this ok for time?", nil
303-
case "github.com/coder/coder/coderd/httpapi.Response":
304-
305304
}
306305

307306
// If it's a struct, just use the name of the struct type

0 commit comments

Comments
 (0)