File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ export function useConnection({
357
357
eventSourceInit : {
358
358
fetch : (
359
359
url : string | URL | globalThis . Request ,
360
- init : RequestInit | undefined ,
360
+ init ? : RequestInit ,
361
361
) =>
362
362
fetch ( url , {
363
363
...init ,
@@ -377,7 +377,7 @@ export function useConnection({
377
377
eventSourceInit : {
378
378
fetch : (
379
379
url : string | URL | globalThis . Request ,
380
- init : RequestInit | undefined ,
380
+ init ? : RequestInit ,
381
381
) =>
382
382
fetch ( url , {
383
383
...init ,
@@ -397,7 +397,7 @@ export function useConnection({
397
397
eventSourceInit : {
398
398
fetch : (
399
399
url : string | URL | globalThis . Request ,
400
- init : RequestInit | undefined ,
400
+ init ? : RequestInit ,
401
401
) =>
402
402
fetch ( url , {
403
403
...init ,
You can’t perform that action at this time.
0 commit comments