function stub
stub<Self, Prop extends keyof Self>(self: Self,property: Prop): Stub<>stub<Self, Prop extends keyof Self>(self: Self,property: Prop,func: (this: Self,...args: GetParametersFromProp<Self, Prop>) => GetReturnFromProp<Self, Prop>): Stub<>Type Parameters
SelfProp extends keyof SelfParameters
self: Selfproperty: Propfunc: (this: Self,...args: GetParametersFromProp<Self, Prop>) => GetReturnFromProp<Self, Prop>