UNPKG

451 BTypeScriptView Raw
1import { IRuleMetadata, RuleFailure } from 'tslint/lib';
2import { AbstractRule } from 'tslint/lib/rules';
3import { SourceFile } from 'typescript/lib/typescript';
4export declare class Rule extends AbstractRule {
5 static readonly metadata: IRuleMetadata;
6 static readonly FAILURE_STRING = "Import statement's curly braces must be spaced exactly by a space to the right and a space to the left";
7 apply(sourceFile: SourceFile): RuleFailure[];
8}