diff --git a/types/digibyte/digibyte-tests.ts b/types/digibyte/digibyte-tests.ts index 1857306523..5785b8ebda 100644 --- a/types/digibyte/digibyte-tests.ts +++ b/types/digibyte/digibyte-tests.ts @@ -34,9 +34,10 @@ new digibyte.Unit(2, 'DGB').toSatoshis(); digibyte.Unit.fromMilis(1000).toDGB(); -var paymentInfo = { +const paymentInfo = { address: 'DFVsFBiKuaL5HM9NWZgdHTQecLNit6tX5Y', amount: digibyte.Unit.fromDGB(1000).toSatoshis(), }; -var uri = new digibyte.URI(paymentInfo).toString(); \ No newline at end of file +const uri = new digibyte.URI(paymentInfo).toString(); +uri.toString(); diff --git a/types/digibyte/index.d.ts b/types/digibyte/index.d.ts index a819ff2743..cf0190891b 100644 --- a/types/digibyte/index.d.ts +++ b/types/digibyte/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for digibyte 0.14.8 +// Type definitions for digibyte 0.14 // Project: https://github.com/digibyte/digibyte-lib // Definitions by: Lautaro Dragan // Adam Wolfe @@ -309,6 +309,4 @@ export class URI { toString(): string; toObject(): any; parse(): any; - } -