Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BraydenLangley committed Feb 27, 2025
1 parent cc4a753 commit c509da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function utf8ToArray (str: string): number[] {
const result: number[] = []

for (let i = 0; i < str.length; i++) {
let codePoint = str.codePointAt(i)!
let codePoint = str.codePointAt(i)

if (codePoint > 0xFFFF) {
// Valid surrogate pair => skip the next code unit because codePointAt
Expand Down

0 comments on commit c509da4

Please sign in to comment.