function mock.stubimport { mock } from "https://deno.land/x/deno_slack_sdk@1.5.0/dev_deps.ts"; const { stub } = mock; 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>>