mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 19:03:38 +02:00
fix(*): make TypeScript realize that each plugin package has a default export (#7294)
This commit is contained in:
parent
b49ae67521
commit
a2c993bf9a
43 changed files with 208 additions and 187 deletions
|
@ -13,7 +13,7 @@ import type {
|
|||
ThemeConfig,
|
||||
ThemeConfigValidationContext,
|
||||
} from '@docusaurus/types';
|
||||
import type {PluginOptions, Options} from '@docusaurus/plugin-google-analytics';
|
||||
import type {PluginOptions, Options} from './options';
|
||||
|
||||
export default function pluginGoogleAnalytics(
|
||||
context: LoadContext,
|
||||
|
@ -87,3 +87,5 @@ export function validateThemeConfig({
|
|||
}
|
||||
return themeConfig;
|
||||
}
|
||||
|
||||
export type {PluginOptions, Options};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue