Array:
const myStrings = ["one", "two", "three"];
const newString = "two";
newString will simply be of type string, but I want the type to be something like element of myStrings.
How can I do this if the values in the array may or may not change?