Enable noImplicitOverride TypeScript compiler option

This commit is contained in:
Evan Hahn 2021-11-12 17:44:20 -06:00 committed by GitHub
parent 4490d9f2d0
commit ede34ecee3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 339 additions and 194 deletions

View file

@ -105,7 +105,7 @@ export class MessageDetail extends React.Component<Props> {
private readonly messageContainerRef = React.createRef<HTMLDivElement>();
public componentDidMount(): void {
public override componentDidMount(): void {
// When this component is created, it's initially not part of the DOM, and then it's
// added off-screen and animated in. This ensures that the focus takes.
setTimeout(() => {
@ -257,7 +257,7 @@ export class MessageDetail extends React.Component<Props> {
);
}
public render(): JSX.Element {
public override render(): JSX.Element {
const {
errors,
message,