summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Tony Sullivan <tony.f.sullivan@outlook.com> 2023-01-27 11:00:24 -0600
committerGravatar GitHub <noreply@github.com> 2023-01-27 11:00:24 -0600
commitb994f6f35e29b2d93ff8ddc281a69c0af3cc3edf (patch)
tree80303b0e20e9bf4d8735b5a379be72247093e159
parentcac11c98be21527edd5401d9c319a5175c5dca8d (diff)
downloadastro-b994f6f35e29b2d93ff8ddc281a69c0af3cc3edf.tar.gz
astro-b994f6f35e29b2d93ff8ddc281a69c0af3cc3edf.tar.zst
astro-b994f6f35e29b2d93ff8ddc281a69c0af3cc3edf.zip
Makes the `AstroCookies` type importable directly from "astro" (#6006)
* re-exports the AstroCookie type from the main 'astro' types * chore: add changeset
-rw-r--r--.changeset/modern-colts-fix.md5
-rw-r--r--packages/astro/src/@types/astro.ts1
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/modern-colts-fix.md b/.changeset/modern-colts-fix.md
new file mode 100644
index 000000000..437a858da
--- /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 247b08306..c1c5f585a 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;