diff --git a/packages/astro/env.d.ts b/packages/astro/env.d.ts index a018eca20..ff5314898 100644 --- a/packages/astro/env.d.ts +++ b/packages/astro/env.d.ts @@ -1,6 +1,6 @@ /// -type Astro = import('astro').AstroGlobal; +type Astro = import('./dist/types/@types/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) /** @@ -13,7 +13,7 @@ declare const Astro: Readonly; declare const Fragment: any; declare module '*.md' { - type MD = import('astro').MarkdownInstance>; + type MD = import('./dist/types/@types/astro').MarkdownInstance>; export const frontmatter: MD['frontmatter']; export const file: MD['file'];