ts interface property both string and number code example
Example 1: create method in interface for set TS
running: someTask, arg: test
Example 2: interface ts one valu
// use type instead interface
type StringOrNull = string | null;
running: someTask, arg: test
// use type instead interface
type StringOrNull = string | null;