"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BooleanExtension = void 0;
const BooleanExtension = (joi) => {
    return {
        base: joi.boolean().falsy('0', 0).truthy('1', 1),
        type: 'boolean'
    };
};
exports.BooleanExtension = BooleanExtension;
