For instance, I am searching for a way to represent any value that consists of two strings separated by an underscore "_".
I attempted something along the lines of:
let key:string = string1 + "_" + string2;
Upon entering this code, I quickly realized that it wouldn't actually work as intended...
I am aware that in Typescript, interfaces can be used to define permitted keys and values for objects. But how about for other scenarios?
Since I am new to this, I apologize if my approach is completely off track.