Skip to content

Commit dc6820b

Browse files
authored
TypeScript: tag deprecated constructor properties (#4474)
1 parent f2a49d1 commit dc6820b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,11 +1028,11 @@ declare namespace sharp {
10281028
openSlide?: OpenSlideInputOptions | undefined;
10291029
/** JPEG 2000 specific input options */
10301030
jp2?: Jp2InputOptions | undefined;
1031-
/** Deprecated: use tiff.subifd instead */
1031+
/** @deprecated Use {@link SharpOptions.tiff} instead */
10321032
subifd?: number | undefined;
1033-
/** Deprecated: use pdf.background instead */
1033+
/** @deprecated Use {@link SharpOptions.pdf} instead */
10341034
pdfBackground?: Colour | Color | undefined;
1035-
/** Deprecated: use openSlide.level instead */
1035+
/** @deprecated Use {@link SharpOptions.openSlide} instead */
10361036
level?: number | undefined;
10371037
/** Set to `true` to read all frames/pages of an animated image (equivalent of setting `pages` to `-1`). (optional, default false) */
10381038
animated?: boolean | undefined;

0 commit comments

Comments
 (0)