mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-29 17:51:18 +00:00
12 lines
441 B
TypeScript
12 lines
441 B
TypeScript
// ACP Core module implements numeric options behavior.
|
|
import { resolveIntegerOption as resolveSharedIntegerOption } from "@openclaw/normalization-core/number-coercion";
|
|
|
|
/** Resolves ACP integer options through the shared normalization contract. */
|
|
export function resolveIntegerOption(
|
|
value: number | undefined,
|
|
fallback: number,
|
|
params: { min: number },
|
|
): number {
|
|
return resolveSharedIntegerOption(value, fallback, params);
|
|
}
|