(name: string)
| 2 | import { ConfigService } from "@/effect/config-service" |
| 3 | |
| 4 | const bool = (name: string) => Config.boolean(name).pipe(Config.withDefault(false)) |
| 5 | const positiveInteger = (name: string) => |
| 6 | Config.number(name).pipe( |
| 7 | Config.map((value) => (Number.isInteger(value) && value > 0 ? value : undefined)), |
no outgoing calls
no test coverage detected