diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-08-05 11:58:50 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-08-05 11:59:56 +0200 |
| commit | d35e03f0b07d1af3fecd51cd4ca42a76c300db23 (patch) | |
| tree | 92562e06ade3a2ac30e5ce39b8442d980b2fad08 /src/student-mock.ts | |
| parent | 6c2bffd297bdfaf4e95a8f0620cf0349d3d3bb78 (diff) | |
| download | bycs-sol-d35e03f0b07d1af3fecd51cd4ca42a76c300db23.tar.gz bycs-sol-d35e03f0b07d1af3fecd51cd4ca42a76c300db23.zip | |
format: run prettier
Diffstat (limited to 'src/student-mock.ts')
| -rw-r--r-- | src/student-mock.ts | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/student-mock.ts b/src/student-mock.ts index 93b45b0..bf817d2 100644 --- a/src/student-mock.ts +++ b/src/student-mock.ts @@ -3,20 +3,19 @@ import { Student } from "./student-common.ts"; import { fetchStudentsMock as fetchStudents, fetchGraduationMock } from "./mock.ts"; declare module "./student-common.ts" { - interface Student { - getGraduation(): Promise<Graduation>; - getIconUrl(): Promise<string>; - } + interface Student { + getGraduation(): Promise<Graduation>; + getIconUrl(): Promise<string>; + } } Student.prototype.getGraduation = function () { - return fetchGraduationMock(this); + return fetchGraduationMock(this); }; Student.prototype.getIconUrl = async function () { - return ""; + return ""; }; - async function fetchStudent(_idFilter?: number, _nameFilter?: string, _groupFilter?: string) { const students = await fetchStudents(); return students[0]; |
