(spec)
| 3419 | */ |
| 3420 | var VersionRange = /** @class */ (function () { |
| 3421 | function VersionRange(spec) { |
| 3422 | this._alternatives = spec ? ts.Debug.checkDefined(parseRange(spec), "Invalid range spec.") : ts.emptyArray; |
| 3423 | } |
| 3424 | VersionRange.tryParse = function (text) { |
| 3425 | var sets = parseRange(text); |
| 3426 | if (sets) { |
nothing calls this directly
no test coverage detected