Properly type Modal props to ensure useful typescript checking (#10238
* Properly type Modal props to ensure useful typescript checking * delint * Iterate * Iterate * Fix modal.close loop * Iterate * Fix tests * Add comment * Fix test
This commit is contained in:
committed by
GitHub
parent
ae5725b24c
commit
629e5cb01f
@@ -25,10 +25,10 @@ import QuestionDialog from "./QuestionDialog";
|
||||
import BugReportDialog from "./BugReportDialog";
|
||||
import BaseDialog from "./BaseDialog";
|
||||
import DialogButtons from "../elements/DialogButtons";
|
||||
import { IDialogProps } from "./IDialogProps";
|
||||
|
||||
interface IProps extends IDialogProps {
|
||||
interface IProps {
|
||||
error: Error;
|
||||
onFinished(clear?: boolean): void;
|
||||
}
|
||||
|
||||
export default class SessionRestoreErrorDialog extends React.Component<IProps> {
|
||||
|
||||
Reference in New Issue
Block a user