diff --git a/packages/astro/env.d.ts b/packages/astro/env.d.ts
index 88a4bcce350f9..ebb416dd26814 100644
--- a/packages/astro/env.d.ts
+++ b/packages/astro/env.d.ts
@@ -1,6 +1,6 @@
///
-type Astro = import('./dist/types/@types/astro').AstroGlobal;
+type Astro = import('astro').AstroGlobal;
// We duplicate the description here because editors won't show the JSDoc comment from the imported type (but will for its properties, ex: Astro.request will show the AstroGlobal.request description)
/**
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts
index c37203f1a7e47..106021f6bd0d4 100644
--- a/packages/astro/src/@types/astro.ts
+++ b/packages/astro/src/@types/astro.ts
@@ -65,8 +65,8 @@ export interface AstroGlobalPartial {
resolve: (path: string) => string;
/** @deprecated Use `Astro.glob()` instead. */
fetchContent(globStr: string): Promise;
- glob>(globStr: `${any}.md`): Promise[]>;
- glob>(globStr: `${any}.astro`): Promise;
+ glob(globStr: `${any}.md`): Promise;
+ glob(globStr: `${any}.astro`): Promise;
glob>(globStr: string): Promise;
site: URL;
}