Skip to content

Commit

Permalink
Fix tsc complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
yshui committed Dec 1, 2023
1 parent db221b1 commit dd069a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DocumentWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class DocumentWatcher {

subscriptions.push(
workspace.onWillSaveTextDocument(async e => {
let selections: Selection[] = []
let selections: readonly Selection[] = []
const activeEditor = window.activeTextEditor
const activeDoc = activeEditor?.document
if (activeDoc && activeDoc === e.document && activeEditor) {
Expand Down

0 comments on commit dd069a1

Please sign in to comment.