Skip to content

Commit

Permalink
fix: fix type of SHA256.prototype.toString method (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
NozomuIkuta committed Jan 19, 2023
1 parent d21725b commit 33f5bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class WordArray {
this.sigBytes = sigBytes !== undefined ? sigBytes : words.length * 4;
}

toString (encoder?) {
toString (encoder?): string {
return (encoder || Hex).stringify(this);
}

Expand Down

0 comments on commit 33f5bc4

Please sign in to comment.