ChemPare Documentation - v0.0.0
    Preparing search index...

    Type Alias JSONResponse

    JSONResponse: Response

    Response type specifically for JSON responses. Used for handling HTTP responses containing JSON content.

    async function fetchJSON(): Promise<JSONResponse> {
    const response = await fetch("https://api.example.com/data");
    return response as JSONResponse;
    }