Skip to content

Commit 377e9d9

Browse files
authored
fix ts issue (#907)
1 parent 9e5fb7d commit 377e9d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/mocks/mockDocument.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ export class MockDocument implements TextDocument {
6868

6969
private _onSave: (doc: TextDocument) => Promise<boolean>;
7070

71+
encoding = 'utf-8';
72+
7173
constructor(
7274
contents: string,
7375
fileName: string,

0 commit comments

Comments
 (0)