mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Fixed types of debug.names and debug.skips arrays. (#18560)
This commit is contained in:
@@ -12,6 +12,7 @@ log("Formatted test (%d arg)", 1);
|
||||
log("Formatted %s (%d args)", "test", 2);
|
||||
|
||||
log("Enabled?: %s", debug.enabled("DefinitelyTyped:log"));
|
||||
log("Name Enabled: %s", debug.names.some(name => name.test("DefinitelyTyped:log")));
|
||||
log("Namespace: %s", log.namespace);
|
||||
|
||||
var error:debug.IDebugger = debug("DefinitelyTyped:error");
|
||||
|
||||
Reference in New Issue
Block a user