-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
João Antônio Hamerski Copetti
committed
Jan 8, 2024
1 parent
f8c8119
commit cf7ddd7
Showing
3 changed files
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
export type RequestParams = { | ||
[any: string]: string | number | ||
} | ||
export type RequestParams = Record<string, string> | ||
|
||
export type RequestOptions = RequestInit & { | ||
params?: RequestParams | ||
} | ||
|
||
export type UrlParams = { | ||
[prop: string]: string | null | ||
} | ||
export type UrlParams = Record<string, string | null> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters