Skip to content

Commit a8af37c

Browse files
committed
chore: lint fix
1 parent d4c98d3 commit a8af37c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/components/content/Alert.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import type uiColors from '#ui-colors'
44
55
const props = defineProps({
6-
title: { type: String },
7-
icon: { type: String },
8-
color: { type: String as PropType<(typeof uiColors)[number]> },
9-
to: { type: String },
6+
title: { type: String, required: true},
7+
icon: { type: String, default: '' },
8+
color: { type: String as PropType<(typeof uiColors)[number]>, required: true },
9+
to: { type: String, default: '' },
1010
})
1111
1212
const target = computed(() => (props.to?.startsWith('https://') ? '_blank' : ''))

playground/server/api/cached.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export default cachedEventHandler(async (event) => {
1+
export default cachedEventHandler(async () => {
22
return {
33
now: Date.now()
44
}

0 commit comments

Comments
 (0)