method Ledger.prototype.withAppimport { Ledger } from "https://deno.land/x/polkadot@0.2.29/hw-ledger/mod.ts"; withApp<T>(fn: (app: SubstrateApp) => Promise<T>): Promise<T>Type ParametersTParametersfn: (app: SubstrateApp) => Promise<T>ReturnsPromise<T>