I am working with an object that represents CSS styling:
{
font-size: "16px",
font-family: "Arial, sans-serif",
text-align: "center"
}
The keys in this object such as font-size, font-family, text-align are dynamic and can change. I need to find a way to apply typing to these keys to restrict them to only valid CSS properties. Any suggestions on how to achieve this?