import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_json_assertParse } from "../../internal/_test_json_assertParse";
import { AtomicAlias } from "../../structures/AtomicAlias";

export const test_json_assertParseCustom_AtomicAlias = _test_json_assertParse(
  CustomGuardError,
)("AtomicAlias")<AtomicAlias>(AtomicAlias)((input) =>
  typia.json.assertParse<AtomicAlias>(input, (p) => new CustomGuardError(p)),
);
