-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4bdd1e9
commit 6f0a921
Showing
12 changed files
with
1,245 additions
and
1,163 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* Copyright (c) Jupyter Development Team. | ||
* Distributed under the terms of the Modified BSD License. | ||
*/ | ||
|
||
/* | ||
* Define typing for the console to restrict the DOM API to the minimal | ||
* set compatible with the browser and Node.js | ||
*/ | ||
|
||
interface Console { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */ | ||
assert(condition?: boolean, ...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) */ | ||
clear(): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */ | ||
count(label?: string): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */ | ||
countReset(label?: string): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */ | ||
debug(...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static) */ | ||
dir(item?: any, options?: any): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static) */ | ||
dirxml(...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static) */ | ||
error(...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */ | ||
group(...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */ | ||
groupCollapsed(...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */ | ||
groupEnd(): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */ | ||
info(...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static) */ | ||
log(...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static) */ | ||
table(tabularData?: any, properties?: string[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */ | ||
time(label?: string): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */ | ||
timeEnd(label?: string): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ | ||
timeLog(label?: string, ...data: any[]): void; | ||
timeStamp(label?: string): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */ | ||
trace(...data: any[]): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static) */ | ||
warn(...data: any[]): void; | ||
} | ||
|
||
declare let console: Console; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.