diff --git a/.changeset/tame-squids-yawn.md b/.changeset/tame-squids-yawn.md new file mode 100644 index 00000000000..e05368437c5 --- /dev/null +++ b/.changeset/tame-squids-yawn.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Exports the `StarlightUserConfig` TypeScript type representing the user's Starlight configuration received by plugins. diff --git a/packages/starlight/types.ts b/packages/starlight/types.ts index 861d1afbb95..d5a2fcbb923 100644 --- a/packages/starlight/types.ts +++ b/packages/starlight/types.ts @@ -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';