[O] Specify type

This commit is contained in:
Hykilpikonna
2019-12-21 12:58:02 -05:00
parent 1fd17706e4
commit 95690fe046
+2 -1
View File
@@ -4,6 +4,7 @@ import Navigation from '@/components/navigation/navigation';
import {GPAUtils} from '@/logic/utils/gpa-utils'; import {GPAUtils} from '@/logic/utils/gpa-utils';
import CacheUtils from '@/logic/utils/cache-utils'; import CacheUtils from '@/logic/utils/cache-utils';
import Constants from '@/constants'; import Constants from '@/constants';
import {Index} from '@/logic/nav-controller';
/** /**
* Objects of this interface represent assignment grades. * Objects of this interface represent assignment grades.
@@ -306,7 +307,7 @@ export default class Course
/** /**
* Get navigation index * Get navigation index
*/ */
get urlIndex() get urlIndex(): Index
{ {
return {hash: this.urlHash, title: this.name} return {hash: this.urlHash, title: this.name}
} }