diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 12782752c..398657f39 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -93,7 +93,7 @@ export interface BuildConfig { * * [Astro reference](https://docs.astro.build/reference/api-reference/#astro-global) */ -export interface AstroGlobal extends AstroGlobalPartial { +export interface AstroGlobal = Record> extends AstroGlobalPartial { /** * Canonical URL of the current page. * @deprecated Use `Astro.url` instead. @@ -149,7 +149,7 @@ export interface AstroGlobal extends AstroGlobalPartial { * * [Astro reference](https://docs.astro.build/en/core-concepts/astro-components/#component-props) */ - props: Record; + props: Props; /** Information about the current request. This is a standard [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) object * * For example, to get a URL object of the current URL, you can use: