mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
refactor: unify export directive style (#6751)
This commit is contained in:
parent
0c807b3501
commit
0d14470d54
105 changed files with 315 additions and 510 deletions
|
@ -214,8 +214,7 @@ declare module '@theme/DocItem' {
|
|||
};
|
||||
}
|
||||
|
||||
const DocItem: (props: Props) => JSX.Element;
|
||||
export default DocItem;
|
||||
export default function DocItem(props: Props): JSX.Element;
|
||||
}
|
||||
|
||||
declare module '@theme/DocCategoryGeneratedIndexPage' {
|
||||
|
@ -264,8 +263,7 @@ declare module '@theme/DocPage' {
|
|||
};
|
||||
}
|
||||
|
||||
const DocPage: (props: Props) => JSX.Element;
|
||||
export default DocPage;
|
||||
export default function DocPage(props: Props): JSX.Element;
|
||||
}
|
||||
|
||||
// TODO until TS supports exports field... hope it's in 4.6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue