import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_assertGuard } from "../../internal/_test_assertGuard";
import { ObjectPartial } from "../../structures/ObjectPartial";

export const test_assertGuardCustom_ObjectPartial = _test_assertGuard(
  CustomGuardError,
)("ObjectPartial")<ObjectPartial>(ObjectPartial)((input) =>
  typia.assertGuard<ObjectPartial>(input, (p) => new CustomGuardError(p)),
);
