Skip to content

Commit 9d077f1

Browse files
committed
ignore gen on meta structs
1 parent 6437a3f commit 9d077f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

codersdk/request.go

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"encoding/json"
66
)
77

8+
// @typescript-ignore sdkRequestArgs
89
type sdkRequestArgs struct {
910
Method string
1011
URL string
@@ -13,6 +14,7 @@ type sdkRequestArgs struct {
1314
ExpectCode int
1415
}
1516

17+
// @typescript-ignore noResponse
1618
type noResponse struct{}
1719

1820
func makeSDKRequest[T any](ctx context.Context, cli *Client, req sdkRequestArgs) (T, error) {

0 commit comments

Comments
 (0)