Open dagda1 opened 2 years ago
Seems like the biggest problem is that the upstream @types/ldapjs
is riddled with any
.... especially on the server callbacks https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/ldapjs/index.d.ts#L315-L330
Maybe the best fix is there?
GitHubThe repository for high quality TypeScript type definitions. - DefinitelyTyped/index.d.ts at master · DefinitelyTyped/DefinitelyTyped
@cowboyd the types are pretty terrible, I think we can make them better without too much trouble and maybe using declaration augmentation.
There are too many
any
types in the ldap simulator (most of them were added by me).We should improve the typing.