how to limit type of string in variable in ts code example Example: interface ts one valu // use type instead interface type StringOrNull = string | null;