packages/codec-components/src/react/components/codec/format.errors.type-error-union.tsx
import type { Format } from "@truffle/codec";
import { createCodecComponent } from "../../utils/create-codec-component";
import { ComponentDataTypeIsNeverError } from "../../../utils";
export const { TypeErrorUnion } = createCodecComponent(
"TypeErrorUnion",
(_data: Format.Errors.TypeErrorUnion) => {
throw new ComponentDataTypeIsNeverError(
"Codec.Format.Errors.TypeErrorUnion"
);
}
);