Skip to content

Commit 8c4b5bc

Browse files
committed
chore(types): tweaks
1 parent ac78df2 commit 8c4b5bc

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

β€Žpackages/@vuepress/types/lib/config.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import ChainWebpackConfig from "webpack-chain";
22
import { PostCssLoaderOptions } from "./style";
33
import { MarkdownConfig } from "./markdown";
44
import { LocaleConfig } from "./locale";
5-
import { ThemeConfig } from "./default-theme";
5+
import { ThemeConfig } from "./theme";
66
import { PluginTuple, PluginObject } from "./plugin";
77

88
/**

β€Žpackages/@vuepress/types/lib/index.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ export * from './locale'
33
export * from './markdown'
44
export * from './style'
55
export * from './context'
6-
export * from './default-theme'
6+
export * from './theme-default'

β€Žpackages/@vuepress/types/lib/default-theme.tsβ€Ž renamed to β€Žpackages/@vuepress/types/lib/theme-default.tsβ€Ž

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,3 @@ export type DefaultThemeConfig = {
255255
*/
256256
selectText?: string;
257257
};
258-
259-
/**
260-
* Default theme config type
261-
*/
262-
export type ThemeConfig = any;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Default theme config type
3+
*/
4+
export type ThemeConfig = any;

0 commit comments

Comments
Β (0)