I tried to use your code and I think your problem is when you used as
try to use this example and it's will help you
type RadioOption = {
value: string;
label: string;
};
const requestTypeOptions: Array<RadioOption> = [
{ value: "question", label: "I have a question" },
{ value: "problem", label: "I have a problem" },
{ value: "complaint", label: "I have a complaint" },
];
const allValues = requestTypeOptions.map((c) => c.value);
console.log(allValues);