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

+1-1
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

+1-1
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

-5
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;

packages/@vuepress/types/lib/theme.ts

+4
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)