From 35eb79610f4b451af1d4a9c286fd63875d28bca5 Mon Sep 17 00:00:00 2001 From: Klaus Hvam Date: Fri, 17 Jan 2020 23:45:18 +0100 Subject: Fix compile and bundle api types (#3703) --- cli/js/lib.deno_runtime.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/lib.deno_runtime.d.ts') diff --git a/cli/js/lib.deno_runtime.d.ts b/cli/js/lib.deno_runtime.d.ts index d45ad2540..8740af062 100644 --- a/cli/js/lib.deno_runtime.d.ts +++ b/cli/js/lib.deno_runtime.d.ts @@ -1904,7 +1904,7 @@ declare namespace Deno { rootName: string, sources?: Record, options?: CompilerOptions - ): Promise<[Diagnostic[] | undefined, Record]>; + ): Promise<[Diagnostic | undefined, Record]>; /** Takes a root module name, and optionally a record set of sources. Resolves * with a single JavaScript string that is like the output of a `deno bundle` @@ -1938,7 +1938,7 @@ declare namespace Deno { rootName: string, sources?: Record, options?: CompilerOptions - ): Promise<[Diagnostic[] | undefined, string]>; + ): Promise<[Diagnostic | undefined, string]>; // @url js/deno.d.ts -- cgit v1.2.3