Skip to content

Commit

Permalink
fix(gatsby): use correct types for the response headers (#35633)
Browse files Browse the repository at this point in the history
  • Loading branch information
feedm3 authored May 11, 2022
1 parent dba45d3 commit 35d4a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export type GetServerDataProps = {
*/
export type GetServerDataReturn<ServerDataType = Record<string, unknown>> =
Promise<{
headers?: Map<string, unknown>
headers?: Record<string, unknown>
props?: ServerDataType
status?: number
}>
Expand Down

0 comments on commit 35d4a92

Please sign in to comment.