Skip to content

Commit 33719bb

Browse files
siddsrivkuhe
authored andcommitted
fix(codegen): utilize loose equality for falsy null/undefined
1 parent 4d84f96 commit 33719bb

File tree

1 file changed

+1
-2
lines changed
  • smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/integration

1 file changed

+1
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
const isSerializableHeaderValue = (value: any): boolean =>
2-
value != undefined && value != null;
1+
const isSerializableHeaderValue = (value: any): boolean => value != null;

0 commit comments

Comments
 (0)