7 lines
504 B
TypeScript
Executable file
7 lines
504 B
TypeScript
Executable file
import type { ParseSourceSpan } from '@angular/compiler';
|
|
import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
|
|
declare type Context<TMessageIds extends string> = TSESLint.RuleContext<TMessageIds, [
|
|
]>;
|
|
export declare function convertNodeSourceSpanToLoc(sourceSpan: ParseSourceSpan): TSESTree.SourceLocation;
|
|
export declare function convertElementSourceSpanToLoc<TMessageIds extends string>(context: Context<TMessageIds>, node: any): TSESTree.SourceLocation;
|
|
export {};
|