Skip to content

Commit 88e5766

Browse files
brimtownwardpeet
authored andcommitted
fix(gatsby-image): Update TypeScript types (#15313)
1 parent 4ea3fa1 commit 88e5766

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/gatsby-image/index.d.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ export interface FluidObject {
2727
interface GatsbyImageProps {
2828
resolutions?: FixedObject
2929
sizes?: FluidObject
30-
fixed?: FixedObject
31-
fluid?: FluidObject
32-
fixedImages?: FixedObject[]
33-
fluidImages?: FluidObject[]
30+
fixed?: FixedObject | FixedObject[]
31+
fluid?: FluidObject | FluidObject[]
3432
fadeIn?: boolean
3533
title?: string
3634
alt?: string

0 commit comments

Comments
 (0)