Vue not formatting TS expression if script[lang=ts]
is second <script>
#14575
Labels
good first issue
Good fist issue!
lang:vue
Issues affecting Vue
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 2.8.6
Playground link
Input:
Output:
Expected behavior:
Should parse as TS. Vue playground
Problem is here
prettier/src/language-html/print-preprocess.js
Lines 413 to 426 in c6e026e
Should check any
<script>
instead of only checking the first<script>
The text was updated successfully, but these errors were encountered: