Corrected searchEntry in jsdoc

This is an error in official documentation that got carried to jsdoc.
Tested the actual behavior in runtime and "entry" event doesn't exist.
This commit is contained in:
Pablo
2019-04-12 10:51:32 -03:00
parent 85327ad145
commit 0675aa9724
+1 -1
View File
@@ -202,7 +202,7 @@ export interface Client extends EventEmitter {
* objects or a filter string as the filter option.
*
* Note that this method is 'special' in that the callback 'res' param will
* have two important events on it, namely 'entry' and 'end' that you can hook
* have two important events on it, namely 'searchEntry' and 'end' that you can hook
* to. The former will emit a SearchEntry object for each record that comes
* back, and the latter will emit a normal LDAPResult object.
*