You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
ts-puzzles/sitemap-parser/src/types.ts

13 lines
232 B

export type ApiResponse = Readonly<
{
id: number;
slug: string;
parent: number | null;
}[]
>;
export type Sitemap = Readonly<{
name: string;
id: number;
children: readonly Sitemap[];
}>;