Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 13, 2024
1 parent 1297f63 commit e919258
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@ export function reverse(str: string) {

export function complement(str: string) {
let comp = ''
// eslint-disable-next-line @typescript-eslint/prefer-for-of
for (let i = 0; i < str.length; i++) {
comp += complementTable[str[i]!] ?? str[i]
}
Expand Down

0 comments on commit e919258

Please sign in to comment.