diff options
author | 2023-08-10 12:42:09 +0000 | |
---|---|---|
committer | 2023-08-10 12:42:09 +0000 | |
commit | 6936c173c0edff5cbebd70b3e71153ef01c7034f (patch) | |
tree | 9ac9422623821a8bdcefd01f178688c6d808e8a7 | |
parent | 4c9d1cb8f27d558807dbe3646c5b5fa1966b166f (diff) | |
download | astro-6936c173c0edff5cbebd70b3e71153ef01c7034f.tar.gz astro-6936c173c0edff5cbebd70b3e71153ef01c7034f.tar.zst astro-6936c173c0edff5cbebd70b3e71153ef01c7034f.zip |
[ci] format
-rw-r--r-- | packages/astro/content-types.template.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/content-types.template.d.ts b/packages/astro/content-types.template.d.ts index c164fc297..edc50fcc9 100644 --- a/packages/astro/content-types.template.d.ts +++ b/packages/astro/content-types.template.d.ts @@ -10,7 +10,7 @@ declare module 'astro:content' { declare module 'astro:content' { export { z } from 'astro/zod'; - + type Flatten<T> = T extends { [K: string]: infer U } ? U : never; export type CollectionEntry<C extends keyof AnyEntryMap> = Flatten<AnyEntryMap[C]>; |