We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51661de commit cd03db8Copy full SHA for cd03db8
src/node/config.ts
@@ -38,15 +38,15 @@ export type UserConfigExport<ThemeConfig> =
38
/**
39
* Type config helper
40
*/
41
-export function defineConfig(config: UserConfigExport<DefaultTheme.Config>) {
+export function defineConfig(config: UserConfig<DefaultTheme.Config>) {
42
return config
43
}
44
45
46
* Type config helper for custom theme config
47
48
export function defineConfigWithTheme<ThemeConfig>(
49
- config: UserConfigExport<ThemeConfig>
+ config: UserConfig<ThemeConfig>
50
) {
51
52
0 commit comments