Skip to content

Commit

Permalink
fix: transaction typings (#152)
Browse files Browse the repository at this point in the history
* Fix transaction constructor typings
  • Loading branch information
antouhou authored Jun 10, 2020
1 parent 1471971 commit aedcd45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashevo/dashcore-lib",
"version": "0.18.3",
"version": "0.18.4",
"description": "A pure and powerful JavaScript Dash library.",
"author": "Dash Core Group, Inc. <dev@dash.org>",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion typings/transaction/Transaction.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export namespace Transaction {
* @constructor
*/
export class Transaction {
constructor(serialized: any);
constructor(serialized: string | Buffer | Object | Transaction | undefined);

version: number;
id: string;
Expand Down

0 comments on commit aedcd45

Please sign in to comment.