Skip to content

Commit

Permalink
Export StarlightUserConfig type (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo authored Dec 17, 2023
1 parent 667f23d commit e88abb0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tame-squids-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/starlight': patch
---

Exports the `StarlightUserConfig` TypeScript type representing the user's Starlight configuration received by plugins.
5 changes: 4 additions & 1 deletion packages/starlight/types.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
export type { StarlightConfig } from './utils/user-config';
export type { StarlightPlugin } from './utils/plugins';
export type {
StarlightPlugin,
StarlightUserConfigWithPlugins as StarlightUserConfig,
} from './utils/plugins';

0 comments on commit e88abb0

Please sign in to comment.