From b090420dd75ae8d7946c5bf08c20b61d27090269 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Tue, 4 Jan 2022 16:19:17 +0530 Subject: [PATCH 1/2] fix: bundle theme-default\config.d.ts properly --- src/client/index.ts | 3 +++ types/index.d.ts | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/index.ts b/src/client/index.ts index 519a6054d703..d70e8ec400b9 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -29,3 +29,6 @@ import { ComponentOptions } from 'vue' import _Debug from './app/components/Debug.vue' const Debug = _Debug as ComponentOptions export { Debug } + +// re-export DefaultTheme namespace +export * from './theme-default/config' diff --git a/types/index.d.ts b/types/index.d.ts index 10a5d0c24743..d27e3e4fdb73 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,3 @@ export * from './shared' export * from '../dist/node/index' export * from '../dist/client/index' -export * from '../dist/client/theme-default/config' From 1b1372be8eadf2ebef8737d9526d22b625c15a1b Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Tue, 4 Jan 2022 16:19:34 +0530 Subject: [PATCH 2/2] fix: add theme.d.ts to package.json files array --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cc38bfd1cc07..7e9a5de5bdf8 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "bin", "dist", "types", - "client.d.ts" + "client.d.ts", + "theme.d.ts" ], "scripts": { "dev": "run-s dev-shared dev-start",