File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments