Implement the built-in Parameters<T> generic without using it.
Parameters<T>
For example:
const foo = (arg1: string, arg2: number): void => {} type FunctionParamsType = MyParameters<typeof foo> // [arg1: string, arg2: number]