Skip to content

Commit 1f4ef6a

Browse files
committed
Marking return values readonly
1 parent db11576 commit 1f4ef6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/editor/browser/services/codeEditorService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ export interface ICodeEditorService {
2626

2727
addCodeEditor(editor: ICodeEditor): void;
2828
removeCodeEditor(editor: ICodeEditor): void;
29-
listCodeEditors(): ICodeEditor[];
29+
listCodeEditors(): readonly ICodeEditor[];
3030

3131
addDiffEditor(editor: IDiffEditor): void;
3232
removeDiffEditor(editor: IDiffEditor): void;
33-
listDiffEditors(): IDiffEditor[];
33+
listDiffEditors(): readonly IDiffEditor[];
3434

3535
/**
3636
* Returns the current focused code editor (if the focus is in the editor or in an editor widget) or

0 commit comments

Comments
 (0)