[ci] format
This commit is contained in:
parent
45364c3452
commit
eb3c33cff7
1 changed files with 3 additions and 3 deletions
6
packages/astro/content-types.template.d.ts
vendored
6
packages/astro/content-types.template.d.ts
vendored
|
@ -10,9 +10,9 @@ declare module 'astro:content' {
|
|||
|
||||
declare module 'astro:content' {
|
||||
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 CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue