Add global types
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
export {};
|
||||
|
||||
declare global {
|
||||
type ApiPaginated<T> = {
|
||||
count: number;
|
||||
next: string | null;
|
||||
previous: string | null;
|
||||
results: T[];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user