Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Remove duplicate type for StaticImageData (vercel#27931)
Browse files Browse the repository at this point in the history
styfle authored Aug 11, 2021
1 parent a4f62ee commit 0023e07
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/next/client/image.tsx
Original file line number Diff line number Diff line change
@@ -57,13 +57,6 @@ type OnLoadingComplete = (result: {

type ImgElementStyle = NonNullable<JSX.IntrinsicElements['img']['style']>

interface StaticImageData {
src: string
height: number
width: number
blurDataURL?: string
}

interface StaticRequire {
default: StaticImageData
}

0 comments on commit 0023e07

Please sign in to comment.