Skip to content

Commit 25c4f91

Browse files
committed
Now we can omit RequestInit!
1 parent 4992d6a commit 25c4f91

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkgs/docs/docs/04_client/overview.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,6 @@ await fetchT("/users", {
175175
await fetchT("/users", { method: "POST", body: JSONT.stringify({ name: 1 }) }); // Error: Type TypedString<{ userName: number; }> is not assignable to type TypedString<{ userName: string; }>
176176
```
177177

178-
:::info[Known issue of RequestInit]
179-
180-
Currently, zero-fetch can not omit the `RequestInit` arg.
181-
We hope to address this issue in the future, but for now, you must provide an empty object as the second argument.
182-
183-
:::
184-
185178
## API
186179

187180
### FetchT

0 commit comments

Comments
 (0)