We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
console
1 parent 6d4f2bb commit 09423d3Copy full SHA for 09423d3
python/pythonmonkey/global.d.ts
@@ -24,6 +24,9 @@ declare const python: {
24
/** see `pm.eval` */
25
declare function pmEval(code: string): any;
26
27
+// Expose our own `console` as a property of the global object
28
+declare const console: import("console").Console;
29
+
30
// Keep this in sync with both https://hg.mozilla.org/releases/mozilla-esr102/file/a03fde6/js/public/Promise.h#l331
31
// and https://github.com/nodejs/node/blob/v20.2.0/deps/v8/include/v8-promise.h#L30
32
declare enum PromiseState { Pending = 0, Fulfilled = 1, Rejected = 2 }
0 commit comments