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
51 changed files with 339 additions and 194 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC
// Copyright 2018-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
@@ -54,7 +54,7 @@ export class Emojify extends React.Component<Props> {
renderNonEmoji: ({ text }) => text,
};
public render(): null | Array<JSX.Element | string | null> {
public override render(): null | Array<JSX.Element | string | null> {
const { text, sizeClass, renderNonEmoji } = this.props;
// We have to do this, because renderNonEmoji is not required in our Props object,