Skip to content

Commit

Permalink
Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-balitskyi committed Oct 3, 2024
1 parent 354b02a commit 1f89a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/code-sample/csharp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
Expand Down Expand Up @@ -83,7 +83,7 @@ const formatCsharpObject = (value: Record<string, Json>): string => {
)
.join(', ')

return `new {${formattedEntries}}`
return `new { ${formattedEntries} }`
}

export const createCsharpResponse = (
Expand Down

0 comments on commit 1f89a3e

Please sign in to comment.