]> git.codecow.com Git - libnemo.git/commitdiff
Define type of Ledger vendor ID.
authorChris Duncan <chris@zoso.dev>
Mon, 15 Sep 2025 13:51:10 +0000 (06:51 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 15 Sep 2025 13:51:10 +0000 (06:51 -0700)
src/lib/wallet/ledger.ts

index b9ac98ba0dcef20774368934907d7b496a54cb87..323058b7f45c26f828abadca78ae51a9e765040d 100644 (file)
@@ -55,7 +55,7 @@ export class Ledger {
        })
 
        static DynamicTransport: typeof TransportHID | typeof TransportBLE | typeof TransportUSB
-       static UsbVendorId = ledgerUSBVendorId
+       static UsbVendorId: typeof ledgerUSBVendorId = ledgerUSBVendorId
        static SYMBOL: Symbol = Symbol('Ledger')
 
        /**