Skip to content

Commit f282aca

Browse files
committed
feat(signature): Add types to jsdocs.
1 parent dc94c29 commit f282aca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ Retrieves detailed information about the specified signature hash.
14581458

14591459
| Name | Type | Description | |
14601460
| ---- | ---- | ----------- | -------- |
1461-
| hash | | The (keccak 256) of the signature. |   |
1461+
| hash | `string` | The (keccak 256) of the signature. |   |
14621462

14631463

14641464

@@ -1473,7 +1473,7 @@ const signatureDetails = await web3data.signature.getSignature('0xe2f0a05a')
14731473
##### Returns
14741474

14751475

1476-
- Information pertaining to the specified signature hash.
1476+
- `Promise.<array>` Information pertaining to the specified signature hash.
14771477

14781478

14791479

src/signature.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class Signature {
2121
/**
2222
* Retrieves detailed information about the specified signature hash.
2323
*
24-
* @param hash - The (keccak 256) of the signature.
25-
* @returns Information pertaining to the specified signature hash.
24+
* @param {string} hash - The (keccak 256) of the signature.
25+
* @returns {Promise<array>} Information pertaining to the specified signature hash.
2626
* @example const signatureDetails = await web3data.signature.getSignature('0xe2f0a05a')
2727
*/
2828
getSignature(hash) {

0 commit comments

Comments
 (0)