mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
the error in callbacks can be null (#43530)
This commit is contained in:
Vendored
+3
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user