UNPKG

@ui5/linter

Version:

A static code analysis tool for UI5

11 lines 370 B
export function toPosStr(node) { const { line, character: column } = node.getSourceFile().getLineAndCharacterOfPosition(node.getStart()); return `${line + 1}:${column + 1}`; } export class UnsupportedModuleError extends Error { constructor(message) { super(message); this.name = this.constructor.name; } } //# sourceMappingURL=util.js.map