How to use spread syntax as arguments in function of TypeScript

visit shbcf.ru