diff --git a/.changeset/swift-weeks-act.md b/.changeset/swift-weeks-act.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/swift-weeks-act.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/DocumentMemberDeserVisitor.java b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/DocumentMemberDeserVisitor.java index 22e24ade9aa..d22cf96157e 100644 --- a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/DocumentMemberDeserVisitor.java +++ b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/DocumentMemberDeserVisitor.java @@ -279,7 +279,7 @@ public final String structureShape(StructureShape shape) { } @Override - public final String unionShape(UnionShape shape) { + public String unionShape(UnionShape shape) { context.getWriter().addImport("expectUnion", "__expectUnion", TypeScriptDependency.AWS_SMITHY_CLIENT); return getDelegateDeserializer(shape, "__expectUnion(" + dataSource + ")"); }