Type alias MethodParameters<M, Fn>

MethodParameters<M, Fn>: Fn extends "init"
    ? M extends {
            init: any;
        }
        ? Parameters<M["init"]>
        : []
    : Parameters<M[Fn]>

Type Parameters

Generated using TypeDoc