1 import { RuleModule } from '../ts-eslint';
\r
2 declare type InferOptionsTypeFromRuleNever<T> = T extends RuleModule<never, infer TOptions> ? TOptions : unknown;
\r
4 * Uses type inference to fetch the TOptions type from the given RuleModule
\r
6 declare type InferOptionsTypeFromRule<T> = T extends RuleModule<string, infer TOptions> ? TOptions : InferOptionsTypeFromRuleNever<T>;
\r
8 * Uses type inference to fetch the TMessageIds type from the given RuleModule
\r
10 declare type InferMessageIdsTypeFromRule<T> = T extends RuleModule<infer TMessageIds, unknown[]> ? TMessageIds : unknown;
\r
11 export { InferOptionsTypeFromRule, InferMessageIdsTypeFromRule };
\r
12 //# sourceMappingURL=InferTypesFromRule.d.ts.map
\r