Open
Description
In typescript there is a Parameters<Type>
: https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype, that allows one to easily get the parameters of a function. In an event rpc system I am currently working on, something like this would be useful where I could do something like ---@overload fun(event: function_name, ...: Parameters<function_name>))