mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
build(docs): add type declarations for virtual:starlight
This commit is contained in:
parent
083a766e4e
commit
281eefc6a3
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
import config from 'virtual:starlight/user-config';
|
import config from 'virtual:starlight/user-config';
|
||||||
import type { Props } from '../props';
|
import type { Props } from '@astrojs/starlight/props';
|
||||||
|
|
||||||
import LanguageSelect from 'virtual:starlight/components/LanguageSelect';
|
import LanguageSelect from 'virtual:starlight/components/LanguageSelect';
|
||||||
import Search from 'virtual:starlight/components/Search';
|
import Search from 'virtual:starlight/components/Search';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import LanguageSelect from 'virtual:starlight/components/LanguageSelect';
|
import LanguageSelect from 'virtual:starlight/components/LanguageSelect';
|
||||||
import SocialIcons from 'virtual:starlight/components/SocialIcons';
|
import SocialIcons from 'virtual:starlight/components/SocialIcons';
|
||||||
import ThemeSelect from 'virtual:starlight/components/ThemeSelect';
|
import ThemeSelect from 'virtual:starlight/components/ThemeSelect';
|
||||||
import type { Props } from '../props';
|
import type { Props } from '@astrojs/starlight/props';
|
||||||
import VersionSelect from './DocsVersionSelect.astro';
|
import VersionSelect from './DocsVersionSelect.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
|
3
docs/src/env.d.ts
vendored
3
docs/src/env.d.ts
vendored
@ -1,3 +1,4 @@
|
|||||||
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
||||||
/// <reference path="../.astro/types.d.ts" />
|
/// <reference path="../.astro/types.d.ts" />
|
||||||
/// <reference types="astro/client" />
|
/// <reference types="astro/client" />
|
||||||
|
/// <reference path="../node_modules/@astrojs/starlight/virtual.d.ts"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user