I want to do something like this:
type A = "A" | "B" | "C";
type ArrayofA = //???
const arr1 : ArrayofA = ["A", "B", "C"]; //ok
const arr2 : ArrayofA = ["A", "B"]; // not ok
const arr3 : ArrayofA = ["A", "B", "C", "D"]; //not ok
How can I do this?