[ci] format

This commit is contained in:
Princesseuh 2023-09-13 19:18:07 +00:00 committed by astrobot-houston
parent 45364c3452
commit eb3c33cff7

View file

@ -10,9 +10,9 @@ declare module 'astro:content' {
declare module 'astro:content' { declare module 'astro:content' {
export { z } from 'astro/zod'; export { z } from 'astro/zod';
type Flatten<T> = T extends { [K: string]: infer U } ? U : never; type Flatten<T> = T extends { [K: string]: infer U } ? U : never;
export type CollectionKey = keyof AnyEntryMap; export type CollectionKey = keyof AnyEntryMap;
export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>; export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>;