diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts new file mode 100644 index 0000000..bc70bd1 --- /dev/null +++ b/frontend/types/global.d.ts @@ -0,0 +1,10 @@ +export {}; + +declare global { + type ApiPaginated = { + count: number; + next: string | null; + previous: string | null; + results: T[]; + }; +}