Enable 'callable-types' tslint rule (#19654)

This commit is contained in:
Andy
2017-11-02 17:16:09 -07:00
committed by GitHub
parent 2ea723f315
commit fd41521421
10 changed files with 33 additions and 47 deletions

View File

@@ -4,9 +4,9 @@
namespace ts.formatting {
export class RuleOperationContext {
private readonly customContextChecks: { (context: FormattingContext): boolean; }[];
private readonly customContextChecks: ((context: FormattingContext) => boolean)[];
constructor(...funcs: { (context: FormattingContext): boolean; }[]) {
constructor(...funcs: ((context: FormattingContext) => boolean)[]) {
this.customContextChecks = funcs;
}