Skip to content

Commit

Permalink
fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Jul 31, 2024
1 parent 10d6fb3 commit 5d22abf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/jsondiffpatch/src/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Processor {
let pipe = pipeArg;
if (typeof name === "string") {
if (typeof pipe === "undefined") {
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
return this.pipes[name as keyof typeof this.pipes]!;
} else {
this.pipes[name as keyof typeof this.pipes] = pipe as Pipe<
Expand Down

0 comments on commit 5d22abf

Please sign in to comment.