fix: allows null in ImageSize width and height types
This commit is contained in:
@@ -23,8 +23,8 @@ export type FileData = {
|
||||
|
||||
export type ImageSize = {
|
||||
name: string,
|
||||
width: number,
|
||||
height: number,
|
||||
width: number | null,
|
||||
height: number | null,
|
||||
crop?: string, // comes from sharp package
|
||||
};
|
||||
export type GetAdminThumbnail = (args: { doc: Record<string, unknown> }) => string
|
||||
|
||||
Reference in New Issue
Block a user