Skip to content

Commit

Permalink
fix: import CheckOptionalClientConfig from SMITHY_TYPES
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Aug 7, 2023
1 parent 5a9994a commit 1b49e75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ private void generateClientProperties() {

private void generateConstructor() {
writer.addImport("CheckOptionalClientConfig", "__CheckOptionalClientConfig",
TypeScriptDependency.AWS_SMITHY_CLIENT);
TypeScriptDependency.SMITHY_TYPES);
writer.openBlock("constructor(...[configuration]: __CheckOptionalClientConfig<$L>) {", "}", configType, () -> {
// Hook for adding/changing the client constructor.
writer.pushState(CLIENT_CONSTRUCTOR_SECTION);
Expand Down

0 comments on commit 1b49e75

Please sign in to comment.