diff options
Diffstat (limited to '.changeset/brave-elephants-fly.md')
-rw-r--r-- | .changeset/brave-elephants-fly.md | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/.changeset/brave-elephants-fly.md b/.changeset/brave-elephants-fly.md deleted file mode 100644 index 0c7673027..000000000 --- a/.changeset/brave-elephants-fly.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'astro': major ---- - -### [changed]: `entryPoint` type inside the hook `astro:build:ssr` -In Astro v4.x, the `entryPoint` type was `RouteData`. - -Astro v5.0 the `entryPoint` type is `IntegrationRouteData`, which contains a subset of the `RouteData` type. The fields `isIndex` and `fallbackRoutes` were removed. - -#### What should I do? -Update your adapter to change the type of `entryPoint` from `RouteData` to `IntegrationRouteData`. - -```diff --import type {RouteData} from 'astro'; -+import type {IntegrationRouteData} from "astro" - --function useRoute(route: RouteData) { -+function useRoute(route: IntegrationRouteData) { - -} -``` |