diff options
author | Bedis Nbiba <bedisnbiba@gmail.com> | 2024-09-03 09:42:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 10:42:39 +0200 |
commit | 3f6740ca52b938c5b792991d72b921c59cdda4d0 (patch) | |
tree | 9a46ee8865e566f9cbeff25fbdabc2dc6b653a05 /cli/tsc/dts/lib.deno.unstable.d.ts | |
parent | 9bf10aa1e08ba071092b11fd60670e4a0fcb5491 (diff) |
fix: fix jupyter display function type (#25326)
Diffstat (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.unstable.d.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 64ee74b84..0ac2c08ee 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -2143,7 +2143,10 @@ declare namespace Deno { * @category Jupyter * @experimental */ - export function display(obj: unknown, options?: DisplayOptions): void; + export function display( + obj: unknown, + options?: DisplayOptions, + ): Promise<void>; /** * Show Markdown in Jupyter frontends with a tagged template function. @@ -2216,12 +2219,12 @@ declare namespace Deno { * Format an object for displaying in Deno * * @param obj - The object to be displayed - * @returns MediaBundle + * @returns Promise<MediaBundle> * * @category Jupyter * @experimental */ - export function format(obj: unknown): MediaBundle; + export function format(obj: unknown): Promise<MediaBundle>; /** * Broadcast a message on IO pub channel. |