1 | import { IRuleMetadata, RuleFailure } from 'tslint';
|
2 | import { AbstractRule } from 'tslint/lib/rules';
|
3 | import { SourceFile } from 'typescript';
|
4 | interface FailureParameters {
|
5 | readonly className: string;
|
6 | readonly propertyName: string;
|
7 | }
|
8 | export declare const getFailureMessage: (failureParameters: FailureParameters) => string;
|
9 | export declare class Rule extends AbstractRule {
|
10 | static readonly metadata: IRuleMetadata;
|
11 | static readonly FAILURE_STRING = "In the class \"%s\", the output property \"%s\" should not be named or renamed as a native event";
|
12 | apply(sourceFile: SourceFile): RuleFailure[];
|
13 | }
|
14 | export {};
|