src/vs/editor/contrib/gotoSymbol/browser/goToCommands.ts/registerGoToAction
function registerGoToAction<T extends EditorAction>(ctor: { new(): T }): T {
	const result = new ctor();
	registerInstantiatedEditorAction(result);
	_goToActionIds.add(result.id);
	return result;
}