chore(frontend): comprehensive TypeScript quality improvements (#37625)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-02-06 16:16:57 -05:00
committed by GitHub
parent e9ae212c1c
commit fc5506e466
441 changed files with 14136 additions and 9956 deletions

View File

@@ -17,7 +17,6 @@
* under the License.
*/
import { Component } from 'react';
import PropTypes from 'prop-types';
import {
Button,
Col,
@@ -70,24 +69,6 @@ interface TimeSeriesColumnControlState {
popoverVisible: boolean;
}
const propTypes = {
label: PropTypes.string,
tooltip: PropTypes.string,
colType: PropTypes.string,
width: PropTypes.string,
height: PropTypes.string,
timeLag: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
timeRatio: PropTypes.string,
comparisonType: PropTypes.string,
showYAxis: PropTypes.bool,
yAxisBounds: PropTypes.array,
bounds: PropTypes.array,
d3format: PropTypes.string,
dateFormat: PropTypes.string,
sparkType: PropTypes.string,
onChange: PropTypes.func,
};
const defaultProps = {
label: t('Time series columns'),
tooltip: '',
@@ -151,8 +132,6 @@ export default class TimeSeriesColumnControl extends Component<
TimeSeriesColumnControlProps,
TimeSeriesColumnControlState
> {
static propTypes = propTypes;
static defaultProps = defaultProps;
constructor(props: TimeSeriesColumnControlProps) {