1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 19:59:37 +00:00

fix: use Array<T> instead of [] to stay consistent

This commit is contained in:
veloii 2023-09-15 20:09:38 +01:00
parent a05b3ada93
commit c0e869e2fe

View file

@ -421,8 +421,8 @@ export interface AttendancePeriod {
}
export interface AttendanceMeta {
dates: string[];
sessions: string[];
dates: Array<string>;
sessions: Array<string>;
start_date: string;
end_date: string;
percentage: string;
@ -468,12 +468,12 @@ export type RewardPurchaseResponse = ClassChartsResponse<RewardPurchaseData, []>
export interface PupilFieldsData {
note: string;
fields: {
fields: Array<{
id: number;
name: string;
graphic: string;
value: string;
}[]
}>
}
export type PupilFieldsResponse = ClassChartsResponse<PupilFieldsData, []>;