Skip to content

Commit 606f487

Browse files
committed
Fix comments
1 parent a7bc93f commit 606f487

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/browser/editor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface IEditorRegistry {
2626
* input, the input itself will be asked which editor it prefers if this method is provided. Otherwise
2727
* the first editor in the list will be returned.
2828
*
29-
* @param inputDescriptors A set of constructor functions that returns an instance of EditorInput for which the
29+
* @param inputDescriptors A set of constructor functions that return an instance of EditorInput for which the
3030
* registered editor should be used for.
3131
*/
3232
registerEditor(descriptor: IEditorDescriptor, inputDescriptors: readonly SyncDescriptor<EditorInput>[]): void;
@@ -37,7 +37,7 @@ export interface IEditorRegistry {
3737
getEditor(input: EditorInput): IEditorDescriptor | undefined;
3838

3939
/**
40-
* Returns the editor descriptor for the given identifier or null if none.
40+
* Returns the editor descriptor for the given identifier or `undefined` if none.
4141
*/
4242
getEditorById(editorId: string): IEditorDescriptor | undefined;
4343

0 commit comments

Comments
 (0)