Skip to content

Commit 639b620

Browse files
committed
fix: LazyLoadImageProps style prop
1 parent a982924 commit 639b620

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-lazy-load-image-component",
3-
"version": "0.0.4",
3+
"version": "0.0.6",
44
"description": "vue-lazy-load-image-component",
55
"type": "module",
66
"main": "lib/index.js",

src/components/LazyLoadImage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ExtractPropTypes, computed, defineComponent, ref } from 'vue';
33
import LazyLoadComponent from './LazyLoadComponent.jsx';
44
import { LazyLoadImagePropsFunc } from './interface.js';
55

6-
export type LazyLoadImageProps = Partial<ExtractPropTypes<ReturnType<typeof LazyLoadImagePropsFunc>>> & Partial<HTMLImageElement>
6+
export type LazyLoadImageProps = Partial<ExtractPropTypes<ReturnType<typeof LazyLoadImagePropsFunc>>> & Partial<Omit<HTMLImageElement, 'style'>>
77

88
const LazyLoadImage = defineComponent({
99
name: 'LazyLoadImage',

0 commit comments

Comments
 (0)