Skip to content

Commit c7b5e7c

Browse files
authored
chore(gatsby): Improve SlicePlaceholderProps type (#37409)
1 parent 57607f1 commit c7b5e7c

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
@@ -202,7 +202,7 @@ export interface SlicePlaceholderProps {
202202
alias: string
203203
allowEmpty?: boolean
204204
children?: React.ReactNode
205-
[key: string]: SerializableProps
205+
[key: string]: SerializableProps | React.ReactNode
206206
}
207207

208208
/**

0 commit comments

Comments
 (0)