Skip to content

Commit 9cc1a85

Browse files
committedFeb 2, 2024
update response type to be always present
1 parent 522cf23 commit 9cc1a85

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/tender-flies-suffer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@solidjs/router": patch
3+
---
4+
5+
update response types to be always present

‎src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Component, JSX, Signal } from "solid-js";
22

33
declare module "solid-js/web" {
44
interface RequestEvent {
5-
response?: {
5+
response: {
66
status?: number;
77
statusText?: string;
88
headers: Headers

0 commit comments

Comments
 (0)
Please sign in to comment.