marking Astro.resolve() as deprecated (#2856)
This commit is contained in:
parent
930dc75c13
commit
5869e015d4
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue