yaml-language-server
Version:
9 lines (8 loc) • 440 B
TypeScript
import type { TextDocument } from 'vscode-languageserver-textdocument';
import { Diagnostic } from 'vscode-languageserver-types';
import type { SingleYAMLDocument } from '../../parser/yaml-documents';
import type { AdditionalValidator } from './types';
export declare class UnusedAnchorsValidator implements AdditionalValidator {
validate(document: TextDocument, yamlDoc: SingleYAMLDocument): Diagnostic[];
private getAnchorNode;
}