Skip to content

Commit

Permalink
refactor: add default for ledger signer transport generic type
Browse files Browse the repository at this point in the history
  • Loading branch information
penovicp committed Oct 1, 2024
1 parent dc11b96 commit 312aa13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signer/ledgerSigner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type _Transport = any;
/**
* Signer for accounts using a Ledger Nano S+/X signature
*/
export class LedgerSigner<Transport extends Record<any, any>> implements SignerInterface {
export class LedgerSigner<Transport extends Record<any, any> = any> implements SignerInterface {
readonly transporter: Transport;

// this is a hack to allow the '@ledgerhq/hw-transport' type to be used as a dev dependency but not exposed in the production build
Expand Down

0 comments on commit 312aa13

Please sign in to comment.