mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Update index.d.ts
fixed backward compatibility
This commit is contained in:
Vendored
+4
@@ -25,10 +25,14 @@ declare namespace debug {
|
||||
|
||||
formatters: Formatters;
|
||||
}
|
||||
|
||||
type IDebug=Debug;
|
||||
|
||||
interface Formatters {
|
||||
[formatter: string]: (v: any) => string;
|
||||
}
|
||||
|
||||
type IDebugger=Debugger;
|
||||
|
||||
interface Debugger {
|
||||
(formatter: any, ...args: any[]): void;
|
||||
|
||||
Reference in New Issue
Block a user