File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/vue/src/base-course/Components Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ import CodeBlockRenderer from './CodeBlockRenderer.vue';
121121import FillInInput from ' @/courses/default/questions/fillIn/fillInInput.vue' ;
122122import { MarkedToken , Tokens } from ' marked' ;
123123import { markRaw } from ' vue' ;
124+ import { PropType } from ' vue' ;
124125
125126// Register components to be used in the template
126127// In Vue 3 with <script setup>, components used via :is must be explicitly registered
@@ -132,7 +133,7 @@ const components = {
132133// Define component props
133134defineProps ({
134135 token: {
135- type: TokenOrComponent , // We'll fix the typing later
136+ type: Object as PropType < TokenOrComponent >,
136137 required: true ,
137138 },
138139 last: {
You can’t perform that action at this time.
0 commit comments