UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for static analysis and code manipulation.

14 lines (13 loc) 527 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var PropertyStoredComparer = /** @class */ (function () { function PropertyStoredComparer(getProperty, comparer) { this.getProperty = getProperty; this.comparer = comparer; } PropertyStoredComparer.prototype.compareTo = function (value) { return this.comparer.compareTo(this.getProperty(value)); }; return PropertyStoredComparer; }()); exports.PropertyStoredComparer = PropertyStoredComparer;