Skip to content

Commit 35d4a92

Browse files
authored
fix(gatsby): use correct types for the response headers (#35633)
1 parent dba45d3 commit 35d4a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export type GetServerDataProps = {
165165
*/
166166
export type GetServerDataReturn<ServerDataType = Record<string, unknown>> =
167167
Promise<{
168-
headers?: Map<string, unknown>
168+
headers?: Record<string, unknown>
169169
props?: ServerDataType
170170
status?: number
171171
}>

0 commit comments

Comments
 (0)