Skip to content

Commit

Permalink
chore: Upgrade typescript (#3687)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Oct 8, 2024
1 parent 457e86a commit 74da37c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4047,7 +4047,7 @@
"rollup": "^4.24.0",
"rollup-plugin-dts": "^6.1.1",
"shx": "^0.3.4",
"typescript": "~5.5.4",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0",
"vite": "^5.4.8",
"vitest": "^2.1.2"
Expand Down
4 changes: 3 additions & 1 deletion packages/client/src/applyCorrections.mts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ async function calcWorkspaceEditsForDocument(doc: TextDocument, edits: TextEdit[

while (editsToProcess.size) {
const startSize = editsToProcess.size;
const edit = editsToProcess.values().next().value;
const next = editsToProcess.values().next();
if (next.done) break;
const edit = next.value;
const ws = await calcWorkspaceEditWithRename(doc, [edit], refInfo);
injectEditsIntoWorkspaceEdit(wsEdit, ws.entries());
const matchingEdits = filterEditsMatchingWorkspaceEdit(ws, doc, edits);
Expand Down
2 changes: 1 addition & 1 deletion packages/webview-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"svelte-check": "^4.0.4",
"svelte-preprocess": "^6.0.3",
"tslib": "^2.7.0",
"typescript": "~5.5.4"
"typescript": "^5.6.2"
},
"engines": {
"node": ">18.0"
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@docusaurus/tsconfig": "^3.5.2",
"@docusaurus/types": "^3.5.2",
"@types/json-schema": "^7.0.15",
"typescript": "~5.5.4"
"typescript": "^5.6.2"
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 74da37c

Please sign in to comment.