Skip to content

Commit 673dee0

Browse files
authored
Fix TS return type
1 parent be2ffc8 commit 673dee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/core/fetch/getHeaders.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
async function getHeaders(options: ApiRequestOptions): Headers {
1+
async function getHeaders(options: ApiRequestOptions): Promise<Headers> {
22
const headers = new Headers({
33
Accept: 'application/json',
44
...options.headers,

0 commit comments

Comments
 (0)