Files
test-repo/changelog_unreleased/vue/14506.md
T

435 B

Format TypeScript expression in attribute bindings (#14506 by @seiyab)

<!-- Input -->
<script lang="ts"></script>
<template>
  <comp :foo="   (a:string)=>1"/>
</template>

<!-- Prettier stable -->
<script lang="ts"></script>
<template>
  <comp :foo="   (a:string)=>1" />
</template>

<!-- Prettier main -->
<script lang="ts"></script>
<template>
  <comp :foo="(a: string) => 1" />
</template>