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 479796b commit 12d9186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DocumentWatcher.ts
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 12d9186

Please sign in to comment.