Skip to content

Commit 91a3736

Browse files
authored
fix: preserveTransformations Type Def (#31)
# Description Adds type def for `preserveTransformations` ## Issue Ticket Number Fixes #28 <!-- Specify above which issue this fixes by referencing the issue number (`#<ISSUE_NUMBER>`) or issue URL. --> <!-- Example: Fixes https://github.com/cloudinary-community/svelte-cloudinary/issues/<ISSUE_NUMBER> --> ## Type of change <!-- Please select all options that are applicable. --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Fix or improve the documentation - [ ] This change requires a documentation update # Checklist <!-- These must all be followed and checked. --> - [ ] I have followed the contributing guidelines of this project as mentioned in [CONTRIBUTING.md](/CONTRIBUTING.md) - [ ] I have created an [issue](https://github.com/cloudinary-community/svelte-cloudinary/issues) ticket for this PR - [ ] I have checked to ensure there aren't other open [Pull Requests](https://github.com/cloudinary-community/svelte-cloudinary/pulls) for the same update/change? - [ ] I have performed a self-review of my own code - [ ] I have run tests locally to ensure they all pass - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes needed to the documentation
1 parent ede836e commit 91a3736

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

svelte-cloudinary/src/lib/components/CldImageTypes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ import type { ImageOptions } from '@cloudinary-util/url-loader';
88
export type CldImageProps = ImageOptions &
99
ImageProps & {
1010
layout?: ImageProps['layout'];
11+
preserveTransformations?: boolean;
1112
tint?: string;
1213
};

0 commit comments

Comments
 (0)