Skip to content

Commit 99ef945

Browse files
feat: 🎸 replace undefined filter with notNil for cleaner code
1 parent 43c6e32 commit 99ef945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/keys-builder/template/pipe.extractor.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function resolveKeyNode(ast: OrArray<AST>): LiteralPrimitive[] {
5757
}
5858
return undefined;
5959
})
60-
.filter((value) => value !== undefined);
60+
.filter(notNil);
6161
}
6262

6363
function resolveKeyAndParam(

0 commit comments

Comments
 (0)