Christoph
TTCTheo's Typesafe Cult
•Created by Christoph on 2/24/2023 in #questions
Spreading Rest Arguments
I'm attempting to write a function which eventually calls another function with the initially provided arguments. I'm having trouble getting it to work, so any help would be much appreciated!
Playground: https://www.typescriptlang.org/play?#code/PTAEDECcHsFtQC4AsCWkAmBaADgQ0ggJ6gA2KARpPoQFwBQAxtAHYDOCosh4ArswwhQtWoALygA3nVCgAZmna9+glgAp8AcwCMNUO0gpmGgDShNAJl3MescgFNIASknSZiJDADuoZne8BRSBhIVQByADloDhRYbBI7WDtmBDt0UMdXAF9jV1Y7JmZ0JQEhZnVIbV1yFA1DBFMLKxt7SFAAHx8eEhIGioBmKuhoeNxmZyk3dy8fP1BA4LDI6Nj4xOTU9Ky6TLpGElxWEQAVO3YXGWwecjIGUDsAD3yeFOKVZgAeI4BpO2IHlMKIgA1r9oLJEIRsHYwZxuHwSsIAHyqEG0UDfX6mAB0OM0rF0AAV8LhEilIKx3kQoTCuK9SqwANoYwgAXUR41cMhAoAAItA9HA7HoEDxZOCcVjOaBIHYRZBmLC6cIGaiWaoJXiMjIdpkgA
14 replies