Files
chesco/node_modules/yaml-language-server/out/server/test/utils/serviceSetup.d.ts
T

18 lines
862 B
TypeScript

import { LanguageSettings, SchemasSettings } from '../../src/languageservice/yamlLanguageService';
import { YamlVersion } from '../../src/languageservice/parser/yamlParser07';
export declare class ServiceSetup {
languageSettings: LanguageSettings;
withValidate(): ServiceSetup;
withHover(): ServiceSetup;
withCompletion(): ServiceSetup;
withFormat(): ServiceSetup;
withKubernetes(allow?: boolean): ServiceSetup;
withSchemaFileMatch(schemaFileMatch: SchemasSettings): ServiceSetup;
withCustomTags(customTags: string[]): ServiceSetup;
withIndentation(indentation: string): ServiceSetup;
withFlowMapping(mapping: 'allow' | 'forbid'): ServiceSetup;
withFlowSequence(sequence: 'allow' | 'forbid'): ServiceSetup;
withKeyOrdering(order?: boolean): ServiceSetup;
withYamlVersion(version: YamlVersion): ServiceSetup;
}