[O] Specify return type

This commit is contained in:
Hykilpikonna
2019-10-20 11:36:35 -04:00
parent 214a716f16
commit 19d03536b5
@@ -1,5 +1,5 @@
import {Component, Prop, Vue} from 'vue-property-decorator';
import {Course} from '@/components/app/app';
import {Assignment, Course} from '@/components/app/app';
import {GPAUtils} from '@/utils/gpa-utils';
import Constants from '@/constants';
@@ -69,7 +69,7 @@ export default class CourseScatter extends Vue
/**
* Map assignments to {assignmentType, [assignment]} format.
*/
private mapAssignments()
private mapAssignments(): {[index: string]: Assignment[]}
{
// Define map {assignmentType, [assignment]}
let map: {[index: string]: Assignment[]} = {};