summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Don Denton <don@happycollision.com> 2022-02-07 15:19:34 -0500
committerGravatar GitHub <noreply@github.com> 2022-02-07 15:19:34 -0500
commitc88a9951e4dcc653245bfbacd8c632e39fa3d8f8 (patch)
tree60406f014368cfef9faf96f987faca2859c12f10
parent41b659b12ece2c800ea9cc23a1c93ff549559a32 (diff)
downloadastro-c88a9951e4dcc653245bfbacd8c632e39fa3d8f8.tar.gz
astro-c88a9951e4dcc653245bfbacd8c632e39fa3d8f8.tar.zst
astro-c88a9951e4dcc653245bfbacd8c632e39fa3d8f8.zip
Fix type FetchContentResultBase['url'] (#2425)
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
-rw-r--r--packages/astro/src/@types/astro.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts
index dd43cba5c..ea1dc6f4d 100644
--- a/packages/astro/src/@types/astro.ts
+++ b/packages/astro/src/@types/astro.ts
@@ -188,7 +188,7 @@ export type FetchContentResultBase = {
source: string;
html: string;
};
- url: URL;
+ url: string;
};
export type GetHydrateCallback = () => Promise<(element: Element, innerHTML: string | null) => void>;