File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 50
50
import Vue from ' vue'
51
51
import SubjectTag from ' @/components/SubjectTag.vue'
52
52
import ContentCardEditorButton from ' @/components/ContentCardEditorButton.vue'
53
+ import { classData } from ' ~/types/store/classData'
54
+
53
55
export default Vue .extend ({
54
56
components: {
55
57
SubjectTag ,
56
58
ContentCardEditorButton
57
59
},
58
60
props: {
59
61
lesson: {
60
- type: Object ,
62
+ type: Object as () => classData . Lesson ,
61
63
required: true ,
62
64
default : () => {}
63
65
}
Original file line number Diff line number Diff line change 31
31
import Vue from ' vue'
32
32
import dayjs from ' dayjs'
33
33
import ContentCardEditable from ' @/components/ContentCardEditable.vue'
34
+ import { classData } from ' ~/types/store/classData'
34
35
35
36
export default Vue .extend ({
36
37
components: { ContentCardEditable },
37
38
props: {
38
39
classData: {
39
- type: Object ,
40
+ type: Object as () => classData . Lesson ,
40
41
default : () => {}
41
42
}
42
43
},
You can’t perform that action at this time.
0 commit comments