Preview environment

function parseResponse

export declare function parseResponse(res: ResponseLike): Promise<unknown>;

Converts the response to usable data

Parameters

res: ResponseLike
The fetch response