We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2406750 commit 4d84f96Copy full SHA for 4d84f96
smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/integration/http-binding-utils.ts
@@ -1,7 +1,2 @@
1
const isSerializableHeaderValue = (value: any): boolean =>
2
- value !== undefined &&
3
- value !== null &&
4
- value !== "" &&
5
- (!Object.getOwnPropertyNames(value).includes("length") ||
6
- value.length != 0) &&
7
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
+ value != undefined && value != null;
0 commit comments