function stubimport { stub } from "https://deno.land/x/pastedeno@0.6.2/dev_deps.ts"; stub<Self, Prop extends keyof Self>(self: Self, property: Prop): Stub<Self, GetParametersFromProp<Self, Prop>, GetReturnFromProp<Self, Prop>>Replaces an instance method with a Stub. stub<Self, Prop extends keyof Self>(self: Self,property: Prop,func: (this: Self, ...args: GetParametersFromProp<Self, Prop>) => GetReturnFromProp<Self, Prop>,): Stub<Self, GetParametersFromProp<Self, Prop>, GetReturnFromProp<Self, Prop>>Replaces an instance method with a Stub. Type ParametersSelfProp extends keyof SelfParametersself: Selfproperty: PropReturnsStub<Self, GetParametersFromProp<Self, Prop>, GetReturnFromProp<Self, Prop>>Type ParametersSelfProp extends keyof SelfParametersself: Selfproperty: Propfunc: (this: Self, ...args: GetParametersFromProp<Self, Prop>) => GetReturnFromProp<Self, Prop>ReturnsStub<Self, GetParametersFromProp<Self, Prop>, GetReturnFromProp<Self, Prop>>