Skip to content

Commit e356b24

Browse files
fix: Fix previously broken ts types
1 parent 63d23f9 commit e356b24

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/visualizations/CategoryTree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const classes = require('~/util/classes.ts');
2222
export default {
2323
name: 'aw-categorytree',
2424
props: {
25-
events: { type: Object },
25+
events: { type: Array },
2626
},
2727
computed: {
2828
category_hierarchy: function() {

src/visualizations/SunburstClock.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ import _ from 'lodash';
113113
export default {
114114
name: 'aw-sunburst-clock',
115115
props: {
116-
date: { type: Date },
116+
date: { type: String },
117117
afkBucketId: { type: String },
118118
windowBucketId: { type: String },
119119
},

src/visualizations/TimelineInspect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default {
1919
name: 'aw-timeline',
2020
props: {
2121
chunks: { type: Object },
22-
show_afk: { type: boolean },
22+
show_afk: { type: Boolean },
2323
chunkfunc: { type: Function },
2424
eventfunc: { type: Function },
2525
},

src/visualizations/VisTimeline.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ div#visualization {
2323
}
2424
</style>
2525

26-
<script>
26+
<script lang="ts">
2727
import _ from 'lodash';
2828
import moment from 'moment';
2929
import { buildTooltip } from '../util/tooltip.js';
@@ -34,10 +34,10 @@ import 'vis-timeline/styles/vis-timeline-graph2d.css';
3434
3535
export default {
3636
props: {
37-
buckets: { type: Object },
38-
showRowLabels: { type: boolean },
37+
buckets: { type: Array },
38+
showRowLabels: { type: Boolean },
3939
queriedInterval: { type: Array },
40-
showQueriedInterval: { type: boolean },
40+
showQueriedInterval: { type: Boolean },
4141
},
4242
data() {
4343
return {

0 commit comments

Comments
 (0)