/** * This file is here as our code assumes that * (await fetch()).json() returns Promise (as in browser fetch), * while node fetch returns Promise in @types/node */ declare global { interface Response { json(): Promise; } interface Body { json(): Promise; } } export {};