fixed lint
This commit is contained in:
parent
d42053995c
commit
5b2720776c
|
@ -14,7 +14,7 @@ export interface SensorConfigurationState {
|
|||
|
||||
export class SensorConfiguration extends React.Component<SensorConfigurationProps, SensorConfigurationState> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: SensorConfigurationProps, context: SensorConfigurationState) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
};
|
||||
|
@ -41,7 +41,7 @@ export interface ConfigStepperState {
|
|||
|
||||
export class ConfigStepper extends React.Component<ConfigStepperProps, ConfigStepperState> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: ConfigStepperProps, context: ConfigStepperState) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
currentStep: 1,
|
||||
|
@ -156,7 +156,7 @@ export class CrawlerSelector extends React.Component<CrawlerSelectorProps, Crawl
|
|||
|
||||
private crawlers: object[];
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: CrawlerSelectorProps, context: CrawlerSelectorState) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
selected: null,
|
||||
|
|
|
@ -17,7 +17,7 @@ export interface SensorDetailsState {
|
|||
|
||||
export class SensorDetails extends React.Component<SensorDetailsProps, SensorDetailsState> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: SensorDetailsProps, context: SensorDetailsState) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
};
|
||||
|
@ -51,7 +51,7 @@ export interface SensorBasicInfoState {
|
|||
|
||||
export class SensorBasicInfo extends React.Component<SensorBasicInfoProps, SensorBasicInfoState> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: SensorBasicInfoProps, context: SensorBasicInfoState) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
};
|
||||
|
|
|
@ -14,7 +14,7 @@ export interface State {
|
|||
|
||||
export class SensorItems extends React.Component<Props, State> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: Props, context: State) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@ export class Sensors extends React.Component<Props, State> {
|
|||
|
||||
private data: any;
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: Props, context: State) {
|
||||
super(props, context);
|
||||
// this.state = {
|
||||
// selected: null,
|
||||
|
|
|
@ -21,7 +21,7 @@ export interface State {
|
|||
|
||||
export class TableExampleSortable extends React.Component<Props, State> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: Props, context: State) {
|
||||
super(props, context);
|
||||
|
||||
// this.state = {
|
||||
|
|
|
@ -16,7 +16,7 @@ export interface TargetDetailsState {
|
|||
|
||||
export class TargetDetails extends React.Component<TargetDetailsProps, TargetDetailsState> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: TargetDetailsProps, context: TargetDetailsState) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
};
|
||||
|
@ -58,7 +58,7 @@ export interface TargetBasicInfoState {
|
|||
|
||||
export class TargetBasicInfo extends React.Component<TargetBasicInfoProps, TargetBasicInfoState> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: TargetBasicInfoProps, context: TargetBasicInfoState) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
};
|
||||
|
|
|
@ -15,7 +15,7 @@ export interface TargetsState {
|
|||
|
||||
export class Targets extends React.Component<TargetsProps, TargetsState> {
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: TargetsProps, context: TargetsState) {
|
||||
super(props, context);
|
||||
// this.state = {
|
||||
// openAddTarget: false,
|
||||
|
@ -78,7 +78,7 @@ export interface TargetTableState {
|
|||
export class TargetTable extends React.Component<TargetTableProps, TargetTableState> {
|
||||
private data: any;
|
||||
|
||||
constructor(props: any, context: any) {
|
||||
constructor(props: TargetTableProps, context: TargetTableState) {
|
||||
super(props, context);
|
||||
this.state = {
|
||||
selected: null,
|
||||
|
|
Loading…
Reference in New Issue
Block a user