Skip to content

Commit

Permalink
chore: be consistent with type aliases (#670)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Rodrigues <eduardomourar@users.noreply.github.com>
  • Loading branch information
eduardomourar and eduardomourar authored Jan 20, 2023
1 parent b93d5c7 commit 0242ee9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ public void addConfigInterfaceFields(
// Dependencies used in the default runtime config template.
writer.addDependency(TypeScriptDependency.AWS_SDK_UTIL_DEFAULTS_MODE_BROWSER);
writer.addDependency(TypeScriptDependency.AWS_SDK_UTIL_DEFAULTS_MODE_NODE);
writer.addImport("DefaultsMode", "DefaultsMode", TypeScriptDependency.AWS_SMITHY_CLIENT.packageName);
writer.addImport("Provider", "Provider", TypeScriptDependency.AWS_SDK_TYPES.packageName);
writer.writeDocs("The {@link DefaultsMode} that will be used to determine how certain default configuration "
writer.addImport("DefaultsMode", "__DefaultsMode", TypeScriptDependency.AWS_SMITHY_CLIENT.packageName);
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");
}
}

0 comments on commit 0242ee9

Please sign in to comment.