Skip to content

Commit

Permalink
Export type definition for image loader props
Browse files Browse the repository at this point in the history
  • Loading branch information
atcastle committed Jan 4, 2021
1 parent dc2b6ac commit 60a0415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/client/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type LoadingValue = typeof VALID_LOADING_VALUES[number]

export type ImageLoader = (resolverProps: ImageLoaderProps) => string

type ImageLoaderProps = {
export type ImageLoaderProps = {
src: string
width: number
quality?: number
Expand Down

0 comments on commit 60a0415

Please sign in to comment.