[ci] format
This commit is contained in:
parent
4c9d1cb8f2
commit
6936c173c0
1 changed files with 1 additions and 1 deletions
2
packages/astro/content-types.template.d.ts
vendored
2
packages/astro/content-types.template.d.ts
vendored
|
@ -10,7 +10,7 @@ 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 CollectionEntry<C extends keyof AnyEntryMap> = Flatten<AnyEntryMap[C]>;
|
export type CollectionEntry<C extends keyof AnyEntryMap> = Flatten<AnyEntryMap[C]>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue