Skip to content

Commit

Permalink
update tslint.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DickvdBrink committed Sep 16, 2015
1 parent 8492e2b commit 5713dcc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/tslint.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ declare module Lint {
}
}
declare module Lint {
class ScopeAwareRuleWalker<T> extends RuleWalker {
abstract class ScopeAwareRuleWalker<T> extends RuleWalker {
private scopeStack;
constructor(sourceFile: ts.SourceFile, options?: any);
createScope(): T;
abstract createScope(): T;
getCurrentScope(): T;
getAllScopes(): T[];
getCurrentDepth(): number;
Expand All @@ -106,8 +106,8 @@ declare module Lint {
}
}
declare module Lint.Formatters {
class AbstractFormatter implements Lint.IFormatter {
format(failures: Lint.RuleFailure[]): string;
abstract class AbstractFormatter implements Lint.IFormatter {
abstract format(failures: Lint.RuleFailure[]): string;
}
}
declare module Lint {
Expand All @@ -120,12 +120,12 @@ declare module Lint {
function createLanguageService(fileName: string, source: string): ts.LanguageService;
}
declare module Lint.Rules {
class AbstractRule implements Lint.IRule {
abstract class AbstractRule implements Lint.IRule {
private value;
private options;
constructor(ruleName: string, value: any, disabledIntervals: Lint.IDisabledInterval[]);
getOptions(): Lint.IOptions;
apply(sourceFile: ts.SourceFile): RuleFailure[];
abstract apply(sourceFile: ts.SourceFile): RuleFailure[];
applyWithWalker(walker: Lint.RuleWalker): RuleFailure[];
isEnabled(): boolean;
}
Expand Down Expand Up @@ -189,10 +189,10 @@ declare module Lint {
function isNodeFlagSet(node: ts.Node, flagToCheck: ts.NodeFlags): boolean;
}
declare module Lint {
class BlockScopeAwareRuleWalker<T, U> extends ScopeAwareRuleWalker<T> {
abstract class BlockScopeAwareRuleWalker<T, U> extends ScopeAwareRuleWalker<T> {
private blockScopeStack;
constructor(sourceFile: ts.SourceFile, options?: any);
createBlockScope(): U;
abstract createBlockScope(): U;
getCurrentBlockScope(): U;
onBlockScopeStart(): void;
getCurrentBlockDepth(): number;
Expand Down

0 comments on commit 5713dcc

Please sign in to comment.