Make more of the codebase conform to strict types (#10859)
This commit is contained in:
parent
6f58dd49e3
commit
f758cbd38a
46 changed files with 111 additions and 105 deletions
|
@ -22,14 +22,14 @@ import { _t } from "../../../languageHandler";
|
|||
import BaseDialog from "./BaseDialog";
|
||||
import DialogButtons from "../elements/DialogButtons";
|
||||
import BugReportDialog from "./BugReportDialog";
|
||||
import AccessibleButton from "../elements/AccessibleButton";
|
||||
import AccessibleButton, { ButtonEvent } from "../elements/AccessibleButton";
|
||||
|
||||
interface IProps {
|
||||
onFinished(signOut?: boolean): void;
|
||||
}
|
||||
|
||||
export default class StorageEvictedDialog extends React.Component<IProps> {
|
||||
private sendBugReport = (ev: React.MouseEvent): void => {
|
||||
private sendBugReport = (ev: ButtonEvent): void => {
|
||||
ev.preventDefault();
|
||||
Modal.createDialog(BugReportDialog, {});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue