method hwLedger.Ledger.prototype.withAppimport { hwLedger } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { Ledger } = hwLedger; withApp<T>(fn: (app: SubstrateApp) => Promise<T>): Promise<T>Type ParametersTParametersfn: (app: SubstrateApp) => Promise<T>ReturnsPromise<T>