Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/runtime/utils/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
preload?: boolean | { fetchPriority: 'auto' | 'high' | 'low' }

// <img> attributes
alt: string
width?: string | number
height?: string | number
crossorigin?: 'anonymous' | 'use-credentials' | boolean
Expand All @@ -46,6 +47,7 @@
height: parseSize(props.height),
crossorigin: props.crossorigin === true ? 'anonymous' : props.crossorigin || undefined,
nonce: props.nonce,
alt: props.alt

Check failure on line 50 in src/runtime/utils/props.ts

View workflow job for this annotation

GitHub Actions / lint

Missing trailing comma
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
}))

const imageModifiers = computed(() => {
Expand Down
Loading