From 7c62cfde8f6736c1a37951420429ca2d3aaa060d Mon Sep 17 00:00:00 2001 From: "@andatoshiki" Date: Sat, 16 Sep 2023 21:54:17 -0700 Subject: [PATCH] chore(declare): add type & propperty delcaratio files for examining third-party components throughout build --- docs/.vitepress/components.d.ts | 26 ++++++++++++++++++++++++++ docs/components.d.ts | 24 +++++++++++++++--------- 2 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 docs/.vitepress/components.d.ts diff --git a/docs/.vitepress/components.d.ts b/docs/.vitepress/components.d.ts new file mode 100644 index 00000000..e88b8613 --- /dev/null +++ b/docs/.vitepress/components.d.ts @@ -0,0 +1,26 @@ +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// Generated by unplugin-vue-components +// Read more: https://github.com/vuejs/core/pull/3399 +import '@vue/runtime-core' + +export {} + +declare module '@vue/runtime-core' { + export interface GlobalComponents { + AsideSponsors: typeof import('./theme/components/AsideSponsors.vue')['default'] + 'Bi:fileEarmarkWordFill': typeof import('~icons/bi/file-earmark-word-fill')['default'] + CardLink: typeof import('./theme/components/CardLink.vue')['default'] + Comment: typeof import('./theme/components/layout/Comment.vue')['default'] + Copyright: typeof import('./theme/components/Copyright.vue')['default'] + 'EosIcons:modifiedDate': typeof import('~icons/eos-icons/modified-date')['default'] + Footer: typeof import('./theme/components/layout/Footer.vue')['default'] + MediumZoom: typeof import('./theme/components/MediumZoom.vue')['default'] + Mermaid: typeof import('./theme/components/Mermaid.vue')['default'] + 'Octicon:feedPerson16': typeof import('~icons/octicon/feed-person16')['default'] + 'Ooui:clock': typeof import('~icons/ooui/clock')['default'] + PageInfo: typeof import('./theme/components/layout/PageInfo.vue')['default'] + 'RadixIcons:update': typeof import('~icons/radix-icons/update')['default'] + } +} diff --git a/docs/components.d.ts b/docs/components.d.ts index fe0f9697..8ca36ddf 100644 --- a/docs/components.d.ts +++ b/docs/components.d.ts @@ -8,13 +8,19 @@ import '@vue/runtime-core' export {} declare module '@vue/runtime-core' { - export interface GlobalComponents { - AsideSponsors: typeof import('./.vitepress/theme/components/AsideSponsors.vue')['default'] - CardLink: typeof import('./.vitepress/theme/components/CardLink.vue')['default'] - Comment: typeof import('./.vitepress/theme/components/layout/Comment.vue')['default'] - Copyright: typeof import('./.vitepress/theme/components/Copyright.vue')['default'] - Footer: typeof import('./.vitepress/theme/components/layout/Footer.vue')['default'] - MediumZoom: typeof import('./.vitepress/theme/components/MediumZoom.vue')['default'] - Mermaid: typeof import('./.vitepress/theme/components/Mermaid.vue')['default'] - } + export interface GlobalComponents { + AsideSponsors: typeof import('./.vitepress/theme/components/AsideSponsors.vue')['default'] + 'Bi:fileEarmarkWordFill': typeof import('~icons/bi/file-earmark-word-fill')['default'] + CardLink: typeof import('./.vitepress/theme/components/CardLink.vue')['default'] + Comment: typeof import('./.vitepress/theme/components/layout/Comment.vue')['default'] + Copyright: typeof import('./.vitepress/theme/components/Copyright.vue')['default'] + 'EosIcons:modifiedDate': typeof import('~icons/eos-icons/modified-date')['default'] + Footer: typeof import('./.vitepress/theme/components/layout/Footer.vue')['default'] + MediumZoom: typeof import('./.vitepress/theme/components/MediumZoom.vue')['default'] + Mermaid: typeof import('./.vitepress/theme/components/Mermaid.vue')['default'] + 'Octicon:feedPerson16': typeof import('~icons/octicon/feed-person16')['default'] + 'Ooui:clock': typeof import('~icons/ooui/clock')['default'] + PageInfo: typeof import('./.vitepress/theme/components/layout/PageInfo.vue')['default'] + 'RadixIcons:update': typeof import('~icons/radix-icons/update')['default'] + } }