UNPKG

442 BTypeScriptView Raw
1import { RuleContext, RuleConstructor, FormatterConstructor } from '@fimbul/ymir';
2import * as TSLint from 'tslint';
3export declare function wrapTslintRule(Rule: TSLint.RuleConstructor, name?: string): RuleConstructor;
4export declare function wrapTslintFormatter(Formatter: TSLint.FormatterConstructor): FormatterConstructor;
5export declare function wrapRuleForTslint<T extends RuleContext>(Rule: RuleConstructor<T>): TSLint.RuleConstructor;