Skip to content

Commit fdd3afd

Browse files
committed
fix(Preview): type error for bodyStyle & appStyle prop
1 parent 42ed71c commit fdd3afd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/output/Preview.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import { Props } from '../Repl.vue'
1919
const props = defineProps<{
2020
show: boolean
2121
ssr: boolean
22-
bodyStyle?: CSSStyleDeclaration
23-
appStyle?: CSSStyleDeclaration
22+
bodyStyle?: Partial<CSSStyleDeclaration>
23+
appStyle?: Partial<CSSStyleDeclaration>
2424
}>()
2525
export type UpdateFlag = 'UPDATING' | 'SUCCESS' | 'FAILURE'
2626
const emits = defineEmits<{

0 commit comments

Comments
 (0)