Skip to content

Commit 7d2f02a

Browse files
committed
fix Route type import
1 parent 9523a63 commit 7d2f02a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/list/Directory.astro

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ import {
55
ensureTrailingSlash,
66
} from 'node_modules/@astrojs/starlight/utils/path';
77
import { CardGrid } from '@astrojs/starlight/components';
8-
import { routes, type Route } from 'node_modules/@astrojs/starlight/utils/routing';
8+
import { routes } from 'node_modules/@astrojs/starlight/utils/routing';
99
1010
// custom component copied from starlight/components/LinkCard
1111
import CustomLinkCard from '@components/plugins/CustomLinkCard.astro';
12+
import type { Route } from 'node_modules/@astrojs/starlight/utils/routing/types';
1213
1314
interface Props {
1415
/**

0 commit comments

Comments
 (0)