diff --git a/lib/index.d.ts b/lib/index.d.ts index a1c5f082..4167efce 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -971,7 +971,7 @@ declare namespace sharp { * * Using this option will remove the EXIF `Orientation` tag, if any. */ - autoOrient?: boolean; + autoOrient?: boolean | undefined; /** * When to abort processing of invalid pixel data, one of (in order of sensitivity): * 'none' (least), 'truncated', 'error' or 'warning' (most), highers level imply lower levels, invalid metadata will always abort. (optional, default 'warning')