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:
parent
4cfb4128de
commit
350878c945
2 changed files with 7 additions and 2 deletions
5
.changeset/green-lies-push.md
Normal file
5
.changeset/green-lies-push.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"classcharts-api": patch
|
||||
---
|
||||
|
||||
Fixed internal typing typo
|
||||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue