typia
Version:
Superfast runtime validators with only one line
15 lines (14 loc) • 450 B
JavaScript
import { _randomString } from "./_randomString.mjs";
//#region src/internal/_randomFormatPassword.ts
const _randomFormatPassword = (props) => _randomString(props?.minLength === void 0 && props?.maxLength === void 0 ? {
type: "string",
minLength: 4,
maxLength: 16
} : {
type: "string",
minLength: props?.minLength,
maxLength: props?.maxLength
});
//#endregion
export { _randomFormatPassword };
//# sourceMappingURL=_randomFormatPassword.mjs.map