UNPKG

@ui5/linter

Version:

A static code analysis tool for UI5

6 lines (5 loc) 512 B
import ts from "typescript"; import LinterContext, { ResourcePath } from "../LinterContext.js"; import { JSONSchemaForSAPUI5Namespace } from "../../manifest.js"; export type FileContents = Map<ResourcePath, string>; export declare function createVirtualLanguageServiceHost(options: ts.CompilerOptions, files: FileContents, sourceMaps: FileContents, context: LinterContext, projectScriptVersion: string, libraryDependencies: JSONSchemaForSAPUI5Namespace["dependencies"]["libs"]): Promise<ts.LanguageServiceHost>;