• Robert Knight's avatar
    Require types for all JSON responses · 2fa14126
    Robert Knight authored
    Make `fetchJSON` return `Promise<unknown>` rather than `Promise<any>`
    and add appropriate types and casts for the remaining API / OAuth
    responses that didn't have them.
    2fa14126
api.js 6.69 KB