typescript: Complete most TypeScript todos.

This commit is contained in:
am2505
2020-03-07 22:11:42 +05:30
committed by Anders Kaseorg
parent e536a03fab
commit bb6d90671f
18 changed files with 109 additions and 50 deletions

View File

@@ -12,10 +12,13 @@ import * as EnterpriseUtil from '../../utils/enterprise-util';
import * as t from '../../utils/translation-util';
import supportedLocales from '../../../../translations/supported-locales.json';
interface GeneralSectionProps {
$root: Element;
}
export default class GeneralSection extends BaseSection {
// TODO: TypeScript - Here props should be object type
props: any;
constructor(props: any) {
props: GeneralSectionProps;
constructor(props: GeneralSectionProps) {
super();
this.props = props;
}