diff --git a/.changeset/modern-colts-fix.md b/.changeset/modern-colts-fix.md new file mode 100644 index 0000000000..437a858daa --- /dev/null +++ b/.changeset/modern-colts-fix.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Makes the `AstroCookies` type available as an import from the main "astro" package diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 247b083060..c1c5f585ab 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -28,6 +28,7 @@ export type { ShikiConfig, } from '@astrojs/markdown-remark'; export type { SSRManifest } from '../core/app/types'; +export type { AstroCookies } from '../core/cookies'; export interface AstroBuiltinProps { 'client:load'?: boolean;