nativescript
Version:
Command-line interface for building NativeScript projects
17 lines (16 loc) • 426 B
JavaScript
;
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);