Skip to content

Commit

Permalink
marking Astro.resolve() as deprecated (withastro#2856)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Sullivan authored Mar 22, 2022
1 parent 2d0d014 commit a750e72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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 a750e72

Please sign in to comment.