From 5b2720776c06622021d3e6302ef74faabf972ee6 Mon Sep 17 00:00:00 2001 From: snoop Date: Thu, 20 Jul 2017 14:15:36 +0900 Subject: [PATCH] fixed lint --- .../@overflow/temp/react/components/SensorConfiguration.tsx | 6 +++--- src/ts/@overflow/temp/react/components/SensorDetails.tsx | 4 ++-- src/ts/@overflow/temp/react/components/SensorItems.tsx | 2 +- src/ts/@overflow/temp/react/components/Sensors.tsx | 2 +- .../temp/react/components/TableExampleSortable.tsx | 2 +- src/ts/@overflow/temp/react/components/TargetDetails.tsx | 4 ++-- src/ts/@overflow/temp/react/components/Targets.tsx | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx b/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx index 20e21fd..5bc74b6 100644 --- a/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx +++ b/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx @@ -14,7 +14,7 @@ export interface SensorConfigurationState { export class SensorConfiguration extends React.Component { - 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 { - 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 { - 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 { - constructor(props: any, context: any) { + constructor(props: SensorBasicInfoProps, context: SensorBasicInfoState) { super(props, context); this.state = { }; diff --git a/src/ts/@overflow/temp/react/components/SensorItems.tsx b/src/ts/@overflow/temp/react/components/SensorItems.tsx index b202a1a..24647ab 100644 --- a/src/ts/@overflow/temp/react/components/SensorItems.tsx +++ b/src/ts/@overflow/temp/react/components/SensorItems.tsx @@ -14,7 +14,7 @@ export interface State { export class SensorItems extends React.Component { - constructor(props: any, context: any) { + constructor(props: Props, context: State) { super(props, context); this.state = { }; diff --git a/src/ts/@overflow/temp/react/components/Sensors.tsx b/src/ts/@overflow/temp/react/components/Sensors.tsx index 335cc04..c33c1e4 100644 --- a/src/ts/@overflow/temp/react/components/Sensors.tsx +++ b/src/ts/@overflow/temp/react/components/Sensors.tsx @@ -19,7 +19,7 @@ export class Sensors extends React.Component { private data: any; - constructor(props: any, context: any) { + constructor(props: Props, context: State) { super(props, context); // this.state = { // selected: null, diff --git a/src/ts/@overflow/temp/react/components/TableExampleSortable.tsx b/src/ts/@overflow/temp/react/components/TableExampleSortable.tsx index be6acb4..cf7a298 100644 --- a/src/ts/@overflow/temp/react/components/TableExampleSortable.tsx +++ b/src/ts/@overflow/temp/react/components/TableExampleSortable.tsx @@ -21,7 +21,7 @@ export interface State { export class TableExampleSortable extends React.Component { - constructor(props: any, context: any) { + constructor(props: Props, context: State) { super(props, context); // this.state = { diff --git a/src/ts/@overflow/temp/react/components/TargetDetails.tsx b/src/ts/@overflow/temp/react/components/TargetDetails.tsx index 5fc99aa..8fc7c2d 100644 --- a/src/ts/@overflow/temp/react/components/TargetDetails.tsx +++ b/src/ts/@overflow/temp/react/components/TargetDetails.tsx @@ -16,7 +16,7 @@ export interface TargetDetailsState { export class TargetDetails extends React.Component { - 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 { - constructor(props: any, context: any) { + constructor(props: TargetBasicInfoProps, context: TargetBasicInfoState) { super(props, context); this.state = { }; diff --git a/src/ts/@overflow/temp/react/components/Targets.tsx b/src/ts/@overflow/temp/react/components/Targets.tsx index f6e6fe9..3e6d8fa 100644 --- a/src/ts/@overflow/temp/react/components/Targets.tsx +++ b/src/ts/@overflow/temp/react/components/Targets.tsx @@ -15,7 +15,7 @@ export interface TargetsState { export class Targets extends React.Component { - 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 { private data: any; - constructor(props: any, context: any) { + constructor(props: TargetTableProps, context: TargetTableState) { super(props, context); this.state = { selected: null,