From b0033cef32f1e7ec83ae22d481e9c81125986309 Mon Sep 17 00:00:00 2001
From: Erika <3019731+Princesseuh@users.noreply.github.com>
Date: Fri, 12 Aug 2022 11:20:59 -0400
Subject: [PATCH] Make astro import inside env.d.ts relative so they work
inside the monorepo (#4281)
---
packages/astro/env.d.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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'];