TypeScript: tag deprecated constructor properties (#4474)

This commit is contained in:
Jiralite 2025-11-10 16:41:22 +00:00 committed by GitHub
parent f2a49d19c9
commit dc6820b49f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
lib/index.d.ts vendored
View File

@ -1028,11 +1028,11 @@ declare namespace sharp {
openSlide?: OpenSlideInputOptions | undefined;
/** JPEG 2000 specific input options */
jp2?: Jp2InputOptions | undefined;
/** Deprecated: use tiff.subifd instead */
/** @deprecated Use {@link SharpOptions.tiff} instead */
subifd?: number | undefined;
/** Deprecated: use pdf.background instead */
/** @deprecated Use {@link SharpOptions.pdf} instead */
pdfBackground?: Colour | Color | undefined;
/** Deprecated: use openSlide.level instead */
/** @deprecated Use {@link SharpOptions.openSlide} instead */
level?: number | undefined;
/** Set to `true` to read all frames/pages of an animated image (equivalent of setting `pages` to `-1`). (optional, default false) */
animated?: boolean | undefined;