mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
Fix TS return type
This commit is contained in:
parent
be2ffc8f9a
commit
673dee075b
@ -1,4 +1,4 @@
|
||||
async function getHeaders(options: ApiRequestOptions): Headers {
|
||||
async function getHeaders(options: ApiRequestOptions): Promise<Headers> {
|
||||
const headers = new Headers({
|
||||
Accept: 'application/json',
|
||||
...options.headers,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user