Type alias TransformMethods<Methods>
Transform
Methods
<Methods>: { [ Name in keyof Methods]: Methods[Name] extends ((...args
: infer Args
) => infer Ret
) ? ((...args
: MakeOptional<Args>) => Ret) : never }
Type Parameters
-
Methods extends { [key: string]: Function }