extensions/typescript-language-features/src/tsServer/bufferSyncSupport.ts/BufferSyncSupport/hasPendingDiagnostics
class BufferSyncSupport:	public hasPendingDiagnostics(resource: vscode.Uri): boolean {
		return this.pendingDiagnostics.has(resource);
	}