Files
SnowLuma/.pnpm-store/v11/files/29/728a5ec0f8570cf3bed94772c208a41935ec1b9a6c08a48deb0e8eb8f0d64b263b2179c9f655a0de6f381f5f8f1d229307abbd2d053f5d6471765cc22fb04c
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

19 lines
338 B
Plaintext

import { clamp } from 'motion-utils';
const number = {
test: (v) => typeof v === "number",
parse: parseFloat,
transform: (v) => v,
};
const alpha = {
...number,
transform: (v) => clamp(0, 1, v),
};
const scale = {
...number,
default: 1,
};
export { alpha, number, scale };
//# sourceMappingURL=index.mjs.map