Skip to content

Commit 10106a7

Browse files
authored
fix: better description for ResponseOptions (#1220)
1 parent 958cb8b commit 10106a7

File tree

1 file changed

+1
-1
lines changed
  • src/routes/solid-router/reference/response-helpers

1 file changed

+1
-1
lines changed

src/routes/solid-router/reference/response-helpers/redirect.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ type RouterResponseInit = Omit<ResponseInit, "body"> & {
7171
function redirect(url: string, init?: number | RouterResponseInit): CustomResponse<never>;
7272
```
7373

74-
The `ResponseOptions` extends the types from the native [`ResponseInit`](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#options) interface.
74+
The `RouterResponseInit` type extends the native [`ResponseInit`](https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#options) interface.

0 commit comments

Comments
 (0)