/* eslint-disable @typescript-eslint/no-explicit-any */ const putFetch = (uri: string, data: T): Promise => { return fetch(uri, { method: 'PUT', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(data), }); }; export default putFetch;