downgrade astro to 3.0

This commit is contained in:
2024-04-12 21:30:54 -04:00
parent 4401ba6c16
commit 99072547c1
5 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -165,11 +165,11 @@ declare module 'astro:content' {
? {
collection: C;
slug: ValidContentEntrySlug<C>;
}
}
: {
collection: C;
id: keyof DataEntryMap[C];
}
}
>;
// Allow generic `string` to avoid excessive type errors in the config
// if `dev` is not running to update as you edit.
@@ -419,5 +419,5 @@ declare module 'astro:content' {
type AnyEntryMap = ContentEntryMap & DataEntryMap;
type ContentConfig = typeof import("../src/content/config.js");
type ContentConfig = typeof import("../src/content/config");
}