UNPKG

eslint-plugin-ng-test-identifier

Version:

add test identifier attribute to angular components

9 lines 741 B
import { ParseSourceSpan, TmplAstElement } from "@angular/compiler"; import type { TSESLint, TSESTree } from "@typescript-eslint/experimental-utils"; export interface ParserServices { readonly convertNodeSourceSpanToLoc: (sourceSpan: ParseSourceSpan) => TSESTree.SourceLocation; readonly convertElementSourceSpanToLoc: (context: Readonly<TSESLint.RuleContext<string, readonly unknown[]>>, node: TmplAstElement) => TSESTree.SourceLocation; } export declare function ensureTemplateParser(context: Readonly<TSESLint.RuleContext<string, readonly unknown[]>>): void; export declare function getTemplateParserServices(context: Readonly<TSESLint.RuleContext<string, readonly unknown[]>>): ParserServices; //# sourceMappingURL=utils.d.ts.map