Skip to content

Commit

Permalink
fix(types): make _type on hotspot/crop optional
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Apr 26, 2021
1 parent 9dfc1f8 commit 98e6133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/types/src/assets/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface ImageCrop {
}

export interface ImageHotspot {
_type: 'sanity.imageHotspot'
_type?: 'sanity.imageHotspot'
width: number
height: number
x: number
Expand Down

0 comments on commit 98e6133

Please sign in to comment.