I'm trying to create a state variable in React with Typescript. It throws an error when I try to define its type to Set.
This variable is suppose to hold an array of objects.
const [blocksList, setBlocksList] = useState<Set>([]);
I'm sure I am doing something wrong here but I haven't found any help on internet so far. Please let me know if anyone needs more information on my question. Thanks
