diff options
author | 2023-09-13 19:18:07 +0000 | |
---|---|---|
committer | 2023-09-13 19:18:07 +0000 | |
commit | eb3c33cff752ccac69911306b5f5f14bb904c92d (patch) | |
tree | 41f5adb6d83ea71ae271faa6dec58f67c405e788 | |
parent | 45364c345267429e400baecd1fbc290503f8b13a (diff) | |
download | astro-eb3c33cff752ccac69911306b5f5f14bb904c92d.tar.gz astro-eb3c33cff752ccac69911306b5f5f14bb904c92d.tar.zst astro-eb3c33cff752ccac69911306b5f5f14bb904c92d.zip |
[ci] format
-rw-r--r-- | packages/astro/content-types.template.d.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/content-types.template.d.ts b/packages/astro/content-types.template.d.ts index 8e5b59c39..eb560193d 100644 --- a/packages/astro/content-types.template.d.ts +++ b/packages/astro/content-types.template.d.ts @@ -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]>; |