fix: typecheck issue

This commit is contained in:
Meier Lukas committed 2026-04-27 22:15:35 +02:00
1 parent 7dabc89ab6
commit c88a46c839
1 file changed
+6 -1
@@ -40,7 +40,12 @@ export class LdapClient {
* @param options search options
* @returns list of search results
*/
public async searchAsync({ base, options }: SearchOptions) {
public async searchAsync({ base, options }: SearchOptions): Promise<
{
[key: string]: string;
dn: string;
}[]
> {
const { searchEntries } = await this.client.search(base, options);
return searchEntries.map((entry) => {