Skip to content

Commit fe2cc06

Browse files
committed
fix(codegen): correct appId type
1 parent e10038b commit fe2cc06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddUserAgentAppIdRuntimeConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public void addConfigInterfaceFields(
3030
TypeScriptWriter writer
3131
) {
3232
writer.writeDocs("The application ID used to identify the SDK client.");
33-
writer.write("userAgentAppId?: string;\n");
33+
writer.write("userAgentAppId?: string | "
34+
+ "__Provider<string>;\n");
3435
}
3536

3637
@Override

0 commit comments

Comments
 (0)