function toPromiseMethodimport { toPromiseMethod } from "https://deno.land/x/polkadot@0.2.14/api/promise/index.ts"; toPromiseMethod<M extends DecorateFn<CodecReturnType<M>>>(method: M, options?: DecorateMethodOptions): StorageEntryPromiseOverloadsType ParametersM extends DecorateFn<CodecReturnType<M>>Parametersmethod: Moptionaloptions: DecorateMethodOptionsReturnsStorageEntryPromiseOverloads