Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipb committed Oct 1, 2020
1 parent cfaef1d commit 99162c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const setUpModule = async (
const { job: defaultJobConfig } = getDefaultJobConfigs(id);

// eslint-disable-next-line @typescript-eslint/naming-convention
const analysis_config = {
const analysis_config: any = {
...defaultJobConfig.analysis_config,
};

Expand Down Expand Up @@ -139,7 +139,7 @@ const setUpModule = async (
);
};

const getDefaultJobConfigs = (jobId: JobType) => {
const getDefaultJobConfigs = (jobId: JobType): { datafeed: any; job: any } => {
switch (jobId) {
case 'hosts_memory_usage':
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const setUpModule = async (
const { job: defaultJobConfig } = getDefaultJobConfigs(id);

// eslint-disable-next-line @typescript-eslint/naming-convention
const analysis_config = {
const analysis_config: any = {
...defaultJobConfig.analysis_config,
};

Expand Down Expand Up @@ -144,7 +144,7 @@ const setUpModule = async (
);
};

const getDefaultJobConfigs = (jobId: JobType) => {
const getDefaultJobConfigs = (jobId: JobType): { datafeed: any; job: any } => {
switch (jobId) {
case 'k8s_memory_usage':
return {
Expand Down

0 comments on commit 99162c1

Please sign in to comment.