Skip to content

Commit

Permalink
lint: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jun 1, 2019
1 parent e5ffc1f commit 02626f7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controller/EchoController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Inject } from 'noicejs';
import { CheckRBAC, Controller, ControllerData, Handler } from 'src/controller';
import { BaseController, BaseControllerOptions } from 'src/controller/BaseController';
import { Command, CommandVerb } from 'src/entity/Command';
import { Context, ChannelData } from 'src/entity/Context';
import { ChannelData, Context } from 'src/entity/Context';
import { Listener } from 'src/listener';
import { ServiceMetadata } from 'src/Service';
import { mustCoalesce } from 'src/utils';
Expand Down
2 changes: 2 additions & 0 deletions src/endpoint/GitlabEndpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface GitlabBaseWebhook {
object_kind: string;
}

// tslint:disable:no-any
export interface GitlabIssueWebhook extends GitlabBaseWebhook {
object_kind: 'issue';
user: any;
Expand Down Expand Up @@ -83,6 +84,7 @@ export interface GitlabPushWebhook extends GitlabBaseWebhook {
commits: Array<any>;
total_commits_count: number;
}
// tslint:enable:no-any

export interface GitlabEndpointData extends EndpointData {
defaultCommand: CommandOptions;
Expand Down
2 changes: 1 addition & 1 deletion src/transform/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ export function scopeToData(scope: TemplateScope): MapLike<Array<string>> {
}
}
return mapToDict(data);
}
}
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ export function mustCoalesce<T>(...vals: Array<T | null | undefined>): T {
}

throw new NotFoundError();
}
}

0 comments on commit 02626f7

Please sign in to comment.