Skip to content

Commit

Permalink
fix: Fix previously broken ts types
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-bjareholt committed Jun 21, 2020
1 parent 63d23f9 commit e356b24
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/visualizations/CategoryTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const classes = require('~/util/classes.ts');
export default {
name: 'aw-categorytree',
props: {
events: { type: Object },
events: { type: Array },
},
computed: {
category_hierarchy: function() {
Expand Down
2 changes: 1 addition & 1 deletion src/visualizations/SunburstClock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ import _ from 'lodash';
export default {
name: 'aw-sunburst-clock',
props: {
date: { type: Date },
date: { type: String },
afkBucketId: { type: String },
windowBucketId: { type: String },
},
Expand Down
2 changes: 1 addition & 1 deletion src/visualizations/TimelineInspect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
name: 'aw-timeline',
props: {
chunks: { type: Object },
show_afk: { type: boolean },
show_afk: { type: Boolean },
chunkfunc: { type: Function },
eventfunc: { type: Function },
},
Expand Down
8 changes: 4 additions & 4 deletions src/visualizations/VisTimeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ div#visualization {
}
</style>

<script>
<script lang="ts">
import _ from 'lodash';
import moment from 'moment';
import { buildTooltip } from '../util/tooltip.js';
Expand All @@ -34,10 +34,10 @@ import 'vis-timeline/styles/vis-timeline-graph2d.css';
export default {
props: {
buckets: { type: Object },
showRowLabels: { type: boolean },
buckets: { type: Array },
showRowLabels: { type: Boolean },
queriedInterval: { type: Array },
showQueriedInterval: { type: boolean },
showQueriedInterval: { type: Boolean },
},
data() {
return {
Expand Down

0 comments on commit e356b24

Please sign in to comment.