diff --git a/src/types.ts b/src/types.ts index aa3c5f1..b424369 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,12 +1,12 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ /** - * Helper type to define response from classcharts + * Helper type to define response from ClassCharts * @internal */ -export type ClassChartsResponse = { - data: T; - meta: E; +export type ClassChartsResponse = { + data: Data; + meta: Error; error?: string; success: number; };