Skip to content

Commit 65bd4ad

Browse files
committed
refactor(TS): overloads must be sorted from the tightest to the loosest
1 parent fd0bd46 commit 65bd4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export = request;
22
export as namespace request;
33

4-
declare function request(options?: Partial<RequestOptions>): Methods
54
declare function request(url?: RequestURL): Methods
5+
declare function request(options?: Partial<RequestOptions>): Methods
66

77
type RequestBody =
88
| BodyInit

0 commit comments

Comments
 (0)