GET requires init? #1256
Replies: 1 comment
-
Aha! I think there's an open issue here: #1124 Self-answered my self. Self-high five! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Awesome timing on the discussions! I'm playing with openapi-fetch and noticed that I can't just do a GET:
GET<P extends PathsWith<Paths, "get">>(url: P, init: FetchOptions<FilterKeys<Paths[P], "get">>):
So:
GET('/broadcasts');
would be missing init. But, I don't have any options I want to provide. Am I just doing it wrong?Beta Was this translation helpful? Give feedback.
All reactions