Add Typescript linting to qa:lint-javascript command

[MAILPOET-2658]
This commit is contained in:
Amine Ben hammou
2020-02-27 02:05:07 +01:00
committed by Jack Kitterhing
parent 20909f0912
commit 0ceac8921f
4 changed files with 11 additions and 9 deletions

View File

@@ -4,13 +4,13 @@ import MailPoet from 'mailpoet';
type Props = {
type: 'success' | 'info' | 'warning' | 'error';
scroll: boolean;
closable: boolean;
renderInPlace: boolean;
children: ReactNode;
scroll?: boolean;
closable?: boolean;
renderInPlace?: boolean;
onDisplay?: () => void;
onClose?: () => void;
timeout: number | false;
children: ReactNode;
timeout?: number | false;
};
const Notice: FC<Props> = ({