Skip to content

Commit

Permalink
chore(language-service): bump ts service for fix jsx formatting
Browse files Browse the repository at this point in the history
close #3949
  • Loading branch information
johnsoncodehk committed Mar 7, 2024
1 parent 439778a commit bbfe658
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/language-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"volar-service-json": "0.0.31",
"volar-service-pug": "0.0.31",
"volar-service-pug-beautify": "0.0.31",
"volar-service-typescript": "0.0.31",
"volar-service-typescript": "0.0.31-patch.1",
"volar-service-typescript-twoslash-queries": "0.0.31",
"vscode-html-languageservice": "^5.1.0",
"vscode-languageserver-textdocument": "^1.0.11"
Expand Down
11 changes: 11 additions & 0 deletions packages/language-service/tests/format/3949.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineFormatTest } from '../utils/format';

defineFormatTest({
title: '#' + __filename.split('.')[0],
languageId: 'vue',
input: `
<script lang="ts">
const a = <div>a</div>
</script>
`.trim(),
});
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bbfe658

Please sign in to comment.