Skip to content

Commit

Permalink
fix: add return type to charCodeArrayToString function
Browse files Browse the repository at this point in the history
  • Loading branch information
nurliman committed May 10, 2024
1 parent 365c46f commit 42cb223
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cool-emus-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nurliman/base85": patch
---

add return type to charCodeArrayToString function
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function charCodeArrayToString(charCodes: number[]) {
export function charCodeArrayToString(charCodes: number[]): string {
let output = "";
for (let i = 0; i < charCodes.length; i++) {
output += String.fromCharCode(charCodes[i]);
Expand Down

0 comments on commit 42cb223

Please sign in to comment.