datasource-rest
datasource-rest copied to clipboard
headers in datesource-rest get and fetch is not compatible with node fetch which accepts HeadersInit
In node fetch, heades is HeadersInit but datasource-rest get/fetch, it only accepts Record<string, string> which is just partial in HeadersInit