diff options
Diffstat (limited to 'src/vs/workbench/common/editor/editorInput.ts')
-rw-r--r-- | src/vs/workbench/common/editor/editorInput.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vs/workbench/common/editor/editorInput.ts b/src/vs/workbench/common/editor/editorInput.ts index 86b53423c60..33fb8d83824 100644 --- a/src/vs/workbench/common/editor/editorInput.ts +++ b/src/vs/workbench/common/editor/editorInput.ts @@ -30,10 +30,10 @@ export interface IEditorCloseHandler { * should be used besides dirty state, this method should be * implemented to show a different dialog. * - * @param editors if more than one editor is closed, will pass in - * each editor of the same kind to be able to show a combined dialog. + * @param editors All editors of the same kind that are being closed. Should be used + * to show a combined dialog. */ - confirm(editors?: ReadonlyArray<IEditorIdentifier>): Promise<ConfirmResult>; + confirm(editors: ReadonlyArray<IEditorIdentifier>): Promise<ConfirmResult>; } /** |