mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 06:50:36 +02:00
refactor: declare all props as interfaces (#6730)
* refactor: declare all props as interfaces * fix * fix...
This commit is contained in:
parent
5555290edc
commit
c38200ba5b
11 changed files with 44 additions and 55 deletions
|
@ -25,10 +25,10 @@ declare module '@docusaurus/plugin-pwa' {
|
|||
}
|
||||
|
||||
declare module '@theme/PwaReloadPopup' {
|
||||
export type PwaReloadPopupProps = {
|
||||
export interface Props {
|
||||
readonly onReload: () => void;
|
||||
};
|
||||
}
|
||||
|
||||
const PwaReloadPopup: (props: PwaReloadPopupProps) => JSX.Element;
|
||||
const PwaReloadPopup: (props: Props) => JSX.Element;
|
||||
export default PwaReloadPopup;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue