From 163bc848e173eecca92d1cb034045fdb42aa4ff1 Mon Sep 17 00:00:00 2001 From: HiDeoo Date: Tue, 20 Feb 2024 19:28:45 +0100 Subject: Export `StarlightPageProps` type (#1527) Co-authored-by: Chris Swithinbank --- .changeset/silver-crabs-yawn.md | 5 +++++ packages/starlight/props.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/silver-crabs-yawn.md diff --git a/.changeset/silver-crabs-yawn.md b/.changeset/silver-crabs-yawn.md new file mode 100644 index 00000000..49eedd99 --- /dev/null +++ b/.changeset/silver-crabs-yawn.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Exports the `StarlightPageProps` TypeScript type representing the props expected by the `` component. diff --git a/packages/starlight/props.ts b/packages/starlight/props.ts index 76c119e4..910d5b00 100644 --- a/packages/starlight/props.ts +++ b/packages/starlight/props.ts @@ -1 +1,2 @@ export type { StarlightRouteData as Props } from './utils/route-data'; +export type { StarlightPageProps } from './utils/starlight-page'; -- cgit