Skip to content

Commit fbcfa68

Browse files
z1hazeFryuni
andauthored
fix(astro): Export AstroSession type (#13843)
Co-authored-by: Luiz Ferraz <[email protected]>
1 parent 3632dda commit fbcfa68

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/tidy-mails-cough.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+
Export type `AstroSession` to allow use in explicitly typed safe code.

packages/astro/src/types/public/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ export type {
4343
AstroCookies,
4444
} from '../../core/cookies/index.js';
4545
export type { ContainerRenderer } from '../../container/index.js';
46+
export { AstroSession } from '../../core/session.js';

0 commit comments

Comments
 (0)