downgrade astro to 3.0
This commit is contained in:
Vendored
+3
-3
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user