src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.ts/registerNotebookContribution
export function registerNotebookContribution<Services extends BrandedService[]>(id: string, ctor: { new(editor: INotebookEditor, ...services: Services): INotebookEditorContribution }): void {
	EditorContributionRegistry.INSTANCE.registerEditorContribution(id, ctor);
}