diff --git a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/AddDefaultsModeDependency.java b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/AddDefaultsModeDependency.java index efd94e042e0..dac123d812f 100644 --- a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/AddDefaultsModeDependency.java +++ b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/AddDefaultsModeDependency.java @@ -41,6 +41,6 @@ public void addConfigInterfaceFields( writer.addImport("Provider", "__Provider", TypeScriptDependency.AWS_SDK_TYPES.packageName); writer.writeDocs("The {@link __DefaultsMode} that will be used to determine how certain default configuration " + "options are resolved in the SDK."); - writer.write("defaultsMode?: __DefaultsMode | __Provider<_DefaultsMode>;\n"); + writer.write("defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;\n"); } }