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:
parent
a05b3ada93
commit
c0e869e2fe
1 changed files with 4 additions and 4 deletions
|
|
@ -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, []>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue