1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 11:58:13 +00:00

fix: response typing typo

This commit is contained in:
James Cook 2023-05-04 11:55:55 +01:00
parent 4cfb4128de
commit 350878c945
2 changed files with 7 additions and 2 deletions

View file

@ -4,9 +4,9 @@
* Helper type to define response from ClassCharts
* @internal
*/
export type ClassChartsResponse<Data, Error> = {
export type ClassChartsResponse<Data, Meta> = {
data: Data;
meta: Error;
meta: Meta;
error?: string;
success: number;
};