I was using this statement in JavaScript but when I try to use it in a TypeScript Project I get an error. It's complaining about the fetch(...args)
const fetcher = (...args) => fetch(...args).then(response => response.json());
Expected 1-2 arguments, but got 0 or more. TS2556