import { toPromiseMethod } from "https://deno.land/x/polkadot@0.2.14/api/promise/decorateMethod.ts";
Type Parameters
M extends DecorateFn<CodecReturnType<M>>
Parameters
method: M
optional
options: DecorateMethodOptionsx/polkadot/api/promise/decorateMethod.ts>toPromiseMethod
import { toPromiseMethod } from "https://deno.land/x/polkadot@0.2.14/api/promise/decorateMethod.ts";