mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 19:57:25 +02:00
* chore: upgrade ESLint related deps * Upgrade TS * Fix lock * Bump Babel * Update config
33 lines
954 B
TypeScript
33 lines
954 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
declare module '@docusaurus/plugin-content-pages' {
|
|
export type Options = Partial<import('./types').PluginOptions>;
|
|
}
|
|
|
|
declare module '@theme/MDXPage' {
|
|
import type {TOCItem} from '@docusaurus/types';
|
|
|
|
export interface Props {
|
|
readonly content: {
|
|
readonly frontMatter: {
|
|
readonly title: string;
|
|
readonly description: string;
|
|
readonly wrapperClassName?: string;
|
|
readonly hide_table_of_contents?: string;
|
|
readonly toc_min_heading_level?: number;
|
|
readonly toc_max_heading_level?: number;
|
|
};
|
|
readonly metadata: {readonly permalink: string};
|
|
readonly toc: readonly TOCItem[];
|
|
(): JSX.Element;
|
|
};
|
|
}
|
|
|
|
const MDXPage: (props: Props) => JSX.Element;
|
|
export default MDXPage;
|
|
}
|