Skip to content

Commit 6883d93

Browse files
committed
Fix types
1 parent 983e2d6 commit 6883d93

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/gatsby-plugin-image/src/components/__tests__/gatsby-image.browser.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react"
2-
import { GatsbyImage, ISharpGatsbyImageData } from "../gatsby-image.browser"
2+
import { GatsbyImage, IGatsbyImageData } from "../gatsby-image.browser"
33
import { render, waitFor } from "@testing-library/react"
44
import * as hooks from "../hooks"
55

@@ -14,7 +14,7 @@ jest.mock(`../../../macros/terser.macro`, () => (strs): string => strs.join(``))
1414

1515
describe(`GatsbyImage browser`, () => {
1616
let beforeHydrationContent: HTMLDivElement
17-
let image: ISharpGatsbyImageData
17+
let image: IGatsbyImageData
1818

1919
beforeEach(() => {
2020
console.warn = jest.fn()

packages/gatsby-plugin-image/src/components/gatsby-image.browser.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export interface IGatsbyImageData {
4343
layout: Layout
4444
height?: number
4545
backgroundColor?: string
46-
sizes?: string
4746
images: Pick<MainImageProps, "sources" | "fallback">
4847
placeholder?: Pick<PlaceholderProps, "sources" | "fallback">
4948
width?: number

0 commit comments

Comments
 (0)