Closed radu-matei closed 1 year ago
The fetch function in the SDK takes an optional parameter options, which is defined as object in the TypeScript SDK:
fetch
options
object
function fetch(uri: string, options?: object): Promise<FetchResult>;
This means there is no type checking for the options parameter, which makes fetch requests quite error prone.
closed with #95
The
fetch
function in the SDK takes an optional parameteroptions
, which is defined asobject
in the TypeScript SDK:This means there is no type checking for the options parameter, which makes fetch requests quite error prone.