Commit 3c3fa81
committed
don't re-wrap when or unless in derive
1 parent 4e03a45 commit 3c3fa81
File tree
3 files changed
+8
-39
lines changed- packages/ts-transformers
- src/transformers/opaque-ref
- test/fixtures/jsx-expressions
3 files changed
+8
-39
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| 256 | + | |
| 257 | + | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
| |||
packages/ts-transformers/test/fixtures/jsx-expressions/map-nested-conditional-no-name.expected.tsx
Lines changed: 2 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
| 413 | + | |
431 | 414 | | |
432 | 415 | | |
433 | 416 | | |
| |||
596 | 579 | | |
597 | 580 | | |
598 | 581 | | |
599 | | - | |
| 582 | + | |
600 | 583 | | |
601 | 584 | | |
602 | 585 | | |
| |||
Lines changed: 2 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
| 413 | + | |
431 | 414 | | |
432 | 415 | | |
433 | 416 | | |
| |||
596 | 579 | | |
597 | 580 | | |
598 | 581 | | |
599 | | - | |
| 582 | + | |
600 | 583 | | |
601 | 584 | | |
602 | 585 | | |
| |||
0 commit comments