import typia from "typia";

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

export const test_json_assertStringifyCustom_AtomicAlias =
  _test_json_assertStringify(CustomGuardError)("AtomicAlias")<AtomicAlias>(
    AtomicAlias,
  )((input) =>
    typia.json.assertStringify<AtomicAlias>(
      input,
      (p) => new CustomGuardError(p),
    ),
  );
