UNPKG

nativescript

Version:

Command-line interface for building NativeScript projects

17 lines 471 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ValidationResult = void 0; class ValidationResult { constructor(errorMsg) { this.errorMsg = errorMsg; } get error() { return this.errorMsg; } get isSuccessful() { return !this.errorMsg; } } exports.ValidationResult = ValidationResult; ValidationResult.Successful = new ValidationResult(null); //# sourceMappingURL=validation-result.js.map