Skip to content
Snippets Groups Projects
Commit 281eefc6 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

build(docs): add type declarations for virtual:starlight

parent 083a766e
Branches
Tags
No related merge requests found
Pipeline #17997 passed
Pipeline: Castopod

#18001

    Pipeline: Castopod

    #17999

      ---
      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 Search from 'virtual:starlight/components/Search';
      ......
      ......@@ -2,7 +2,7 @@
      import LanguageSelect from 'virtual:starlight/components/LanguageSelect';
      import SocialIcons from 'virtual:starlight/components/SocialIcons';
      import ThemeSelect from 'virtual:starlight/components/ThemeSelect';
      import type { Props } from '../props';
      import type { Props } from '@astrojs/starlight/props';
      import VersionSelect from './DocsVersionSelect.astro';
      ---
      ......
      // eslint-disable-next-line @typescript-eslint/triple-slash-reference
      /* eslint-disable @typescript-eslint/triple-slash-reference */
      /// <reference path="../.astro/types.d.ts" />
      /// <reference types="astro/client" />
      /// <reference path="../node_modules/@astrojs/starlight/virtual.d.ts"/>
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Please register or to comment