How to use arguments property from function in TS - Theo's Typesafe Cult