typescript use interface on object in parametr code example Example: create method in interface for set TS running: someTask, arg: test