missing type

This commit is contained in:
Miodec 2022-02-12 22:41:43 +01:00
parent e2d7a19c08
commit dc3d58e1c8

View file

@ -128,18 +128,11 @@ export async function getFunbox(funbox: string): Promise<Funbox | undefined> {
});
}
type Quote = {
text: string;
source: string;
length: number;
id: number;
group?: number;
};
type QuoteCollection = {
quotes: Quote[];
quotes: Types.Quote[];
length?: number;
language?: string;
groups: number[][] | Quote[][];
groups: number[][] | Types.Quote[][];
};
let quotes: QuoteCollection;