Skip to content

Commit 7a44f8f

Browse files
author
alpsla
committed
Fix: Reorder variable declaration in test fixture to fix TypeScript error
1 parent aca9d22 commit 7a44f8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/agents/src/fix-agent/__tests__/fixtures/live-test-prettier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ const arrayOfObjects = [{id: 1, name: "first"},{id: 2, name: "second"},{id: 3, n
9292
function manyParams(param1: string, param2: number, param3: boolean, param4: object, param5: string[], param6: number) {return param1 + String(param2)}
9393

9494
// Issue: Ternary operator formatting
95+
var someCondition = true
9596
const ternaryResult = someCondition ? "this is the truthy value that is very long and should be formatted" : "this is the falsy value that is also very long"
96-
let someCondition = true
9797

9898
// Issue: Template literal formatting
9999
const template = `This is a template literal with ${VERY_LONG_CONFIG_STRING_THAT_EXCEEDS_PRINT_WIDTH} interpolation that exceeds line width`

0 commit comments

Comments
 (0)