From 5869e015d4f714a27dd110c5795e4df6d931cf07 Mon Sep 17 00:00:00 2001 From: Tony Sullivan Date: Tue, 22 Mar 2022 18:15:36 +0000 Subject: [PATCH] marking Astro.resolve() as deprecated (#2856) --- packages/astro/src/@types/astro.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index e139faa104..f634bf6941 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -52,6 +52,9 @@ export interface AstroGlobal extends AstroGlobalPartial { export interface AstroGlobalPartial { fetchContent(globStr: string): Promise[]>; + /** + * @deprecated since version 0.24. See the {@link https://astro.build/deprecated/resolve upgrade guide} for more details. + */ resolve: (path: string) => string; site: URL; }