From 1f89a3ef6f507391d14ed3196cf0c134911be6e7 Mon Sep 17 00:00:00 2001 From: Andrii Balitskyi <10balian10@gmail.com> Date: Thu, 3 Oct 2024 12:33:51 +0200 Subject: [PATCH] Indentation --- src/lib/code-sample/csharp.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/code-sample/csharp.ts b/src/lib/code-sample/csharp.ts index b952073c..5ad2f2a2 100644 --- a/src/lib/code-sample/csharp.ts +++ b/src/lib/code-sample/csharp.ts @@ -52,7 +52,7 @@ const formatCsharpArray = (key: string, value: Json[]): string => { ? getPrimitiveTypeName(item) : 'object' - return `new ${arrayType}[] {${formattedItems.join(', ')}}` + return `new ${arrayType}[] { ${formattedItems.join(', ')}} ` } const isPrimitiveValue = (value: Json): boolean => @@ -83,7 +83,7 @@ const formatCsharpObject = (value: Record): string => { ) .join(', ') - return `new {${formattedEntries}}` + return `new { ${formattedEntries} }` } export const createCsharpResponse = (