mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
the error in callbacks can be null (#43530)
This commit is contained in:
parent
cf4e7a3c2a
commit
6ebec5bcbe
6
types/ldapjs/index.d.ts
vendored
6
types/ldapjs/index.d.ts
vendored
@ -18,15 +18,15 @@ export interface ErrorCallback {
|
||||
}
|
||||
|
||||
export interface CompareCallback {
|
||||
(error: Error, matched?: boolean): void;
|
||||
(error: Error | null, matched?: boolean): void;
|
||||
}
|
||||
|
||||
export interface ExopCallback {
|
||||
(error: Error, value: string, result?: any): void;
|
||||
(error: Error | null, value: string, result?: any): void;
|
||||
}
|
||||
|
||||
export interface CallBack {
|
||||
(error: Error, result?: any): void;
|
||||
(error: Error | null, result?: any): void;
|
||||
}
|
||||
|
||||
export interface ClientOptions {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user