Skip to content

Commit f9fa57c

Browse files
authored
Allow 'auto' value for dpr property in shared.ts
1 parent 8d5abf5 commit f9fa57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ export interface Transformation {
14311431
* [Arithmetic expressions](https://imagekit.io/docs/arithmetic-expressions-in-transformations).
14321432
* - See [DPR](https://imagekit.io/docs/image-resize-and-crop#dpr---dpr).
14331433
*/
1434-
dpr?: number;
1434+
dpr?: number | 'auto';
14351435

14361436
/**
14371437
* Specifies the duration (in seconds) for trimming videos, e.g., `5` or `10.5`.

0 commit comments

Comments
 (0)