Skip to content

Commit

Permalink
marking Astro.resolve() as deprecated (#2856)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Sullivan authored Mar 22, 2022
1 parent 930dc75 commit 5869e01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ export interface AstroGlobal extends AstroGlobalPartial {

export interface AstroGlobalPartial {
fetchContent<T = any>(globStr: string): Promise<FetchContentResult<T>[]>;
/**
* @deprecated since version 0.24. See the {@link https://astro.build/deprecated/resolve upgrade guide} for more details.
*/
resolve: (path: string) => string;
site: URL;
}
Expand Down

0 comments on commit 5869e01

Please sign in to comment.