diff --git a/packages/typespec-client-generator-core/src/types.ts b/packages/typespec-client-generator-core/src/types.ts index ec05aa6eec..f381b9a1a0 100644 --- a/packages/typespec-client-generator-core/src/types.ts +++ b/packages/typespec-client-generator-core/src/types.ts @@ -956,7 +956,11 @@ function updateModelsMap(context: SdkContext, type: Type, sdkType: SdkType, oper } if (sdkType.additionalProperties) { updateModelsMap( - context, sdkType.additionalProperties.__raw as any, sdkType.additionalProperties, operation); + context, + sdkType.additionalProperties.__raw as any, + sdkType.additionalProperties, + operation + ); } if (sdkType.discriminatedSubtypes) { for (const subtype of Object.values(sdkType.discriminatedSubtypes)) {