Skip to content

Commit 4f55781

Browse files
Update content.d.ts astro/loader => loaders (#14525)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
1 parent cd30254 commit 4f55781

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/fifty-boxes-shave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Fixes `defineLiveCollection()` types

packages/astro/types/content.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ declare module 'astro:content' {
1010
} from 'astro/content/config';
1111

1212
export function defineLiveCollection<
13-
L extends import('astro/loader').LiveLoader,
13+
L extends import('astro/loaders').LiveLoader,
1414
S extends import('astro/content/config').BaseSchema | undefined = undefined,
1515
>(
1616
config: import('astro/content/config').LiveCollectionConfig<L, S>,

0 commit comments

Comments
 (0)