Skip to content

Commit

Permalink
Makes the AstroCookies type importable directly from "astro" (#6006)
Browse files Browse the repository at this point in the history
* re-exports the AstroCookie type from the main 'astro' types

* chore: add changeset
  • Loading branch information
Tony Sullivan committed Jan 27, 2023
1 parent cac11c9 commit b994f6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/modern-colts-fix.md
@@ -0,0 +1,5 @@
---
'astro': patch
---

Makes the `AstroCookies` type available as an import from the main "astro" package
1 change: 1 addition & 0 deletions packages/astro/src/@types/astro.ts
Expand Up @@ -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;
Expand Down

0 comments on commit b994f6f

Please sign in to comment.