creating a typescript interface with either one value or the other code example
Example: interface ts one valu
// use type instead interface
type StringOrNull = string | null;
// use type instead interface
type StringOrNull = string | null;