Continuing on the typescript conversion. There are 8 functions in lib/utils/request.ts these are utilities functions are used by Superglue to manage request objects.
Issue
Lets convert all 8 functions in lib/utils/request.ts to typescript. Most of the conversion should be straightforward, the only one that may be tricky is argsForFetch, which return literally Fetch arguments, you'll need to find a return type for it.
Context
Continuing on the typescript conversion. There are 8 functions in
lib/utils/request.ts
these are utilities functions are used by Superglue to manage request objects.Issue
Lets convert all 8 functions in
lib/utils/request.ts
to typescript. Most of the conversion should be straightforward, the only one that may be tricky isargsForFetch
, which return literally Fetch arguments, you'll need to find a return type for it.