extensions/typescript-language-features/src/languageFeatures/jsDocCompletions.ts/register
export function register(
	selector: DocumentSelector,
	modeId: string,
	client: ITypeScriptServiceClient,
	fileConfigurationManager: FileConfigurationManager,

): vscode.Disposable {
	return conditionalRegistration([
		requireConfiguration(modeId, 'suggest.completeJSDocs')
	], () => {
		return vscode.languages.registerCompletionItemProvider(selector.syntax,
			new JsDocCompletionProvider(client, fileConfigurationManager),
			'*');
	});
}