@ui5/linter
Version:
A static code analysis tool for UI5
13 lines (12 loc) • 698 B
TypeScript
import type { SAPJSONSchemaForWebApplicationManifestFile } from "../../manifest.d.ts";
import jsonMap, { Mapping, Pointers } from "json-source-map";
export interface jsonSourceMapType {
data: SAPJSONSchemaForWebApplicationManifestFile;
pointers: Pointers;
}
export declare function parseManifest(manifest: string): {
data: SAPJSONSchemaForWebApplicationManifestFile;
pointers: jsonMap.Pointers;
};
export declare function getPreviousPropertyPointer(pointers: Pointers, targetPointer: Mapping, targetKey: string): jsonMap.Mapping | undefined;
export declare function getNextPropertyPointer(pointers: Pointers, targetPointer: Mapping, targetKey: string): jsonMap.Mapping | undefined;