Skip to content

Commit 77ca12b

Browse files
committed
fix: typecheck & build & lint
1 parent 8858ff9 commit 77ca12b

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

docs/.vitepress/theme/components/IntegrationCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import VitePressLogo from '../assets/vitepress-logo-large.webp'
55
66
const props = withDefaults(defineProps<{
77
type: IntegrationType
8-
title: string
8+
title?: string
99
package: string
1010
}>(), {
1111
title: '',

docs/.vitepress/theme/components/ThumbhashPreview.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import { createPngDataUri } from 'unlazy/thumbhash'
55
import { computed, onMounted, ref, watch } from 'vue'
66
77
const props = withDefaults(defineProps<{
8-
thumbhashText: string
9-
applyThumbhashText: string
10-
clickToUploadText: string
11-
copyToClipboardText: string
12-
clearInputThumbhashText: string
13-
inputThumbhashPlaceholder: string
14-
previewThumbhashText: string
8+
thumbhashText?: string
9+
applyThumbhashText?: string
10+
clickToUploadText?: string
11+
copyToClipboardText?: string
12+
clearInputThumbhashText?: string
13+
inputThumbhashPlaceholder?: string
14+
previewThumbhashText?: string
1515
demoImageUrl?: string
1616
}>(), {
1717
thumbhashText: 'Select image to generate thumbhash',

packages/ui/src/components/NuInputSlider.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useElementHover } from '@vueuse/core'
33
import { onMounted, ref, watch } from 'vue'
44
55
const props = withDefaults(defineProps<{
6-
name: string
6+
name?: string
77
disabled?: boolean
88
modelValue?: number
99
min?: number

packages/vitepress-plugin-git-changelog/src/vite/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface GitChangelogOptions {
2020
/**
2121
* When fetching git logs, what files should be included?
2222
*
23-
* @default ['**/*.md', '!node_modules']
23+
* @default ['**\/*.md', '!node_modules']
2424
*/
2525
include?: string[]
2626
/**

packages/vitepress-plugin-thumbnail-hash/src/client/components/NolebaseUnlazyImg.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const props = withDefaults(defineProps<{
99
placeholderSrc: string
1010
width: string
1111
height: string
12-
autoSizes: string
12+
autoSizes?: string
1313
}>(), {
1414
autoSizes: 'true',
1515
})

0 commit comments

Comments
 (0)