UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for static analysis and code manipulation.

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