diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-04-25 21:54:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 06:54:57 +1000 |
commit | fb1ccc3d8898e71f068a3d2e2b0e5f1da5731444 (patch) | |
tree | 136206913b6ab45daaf097439f4d3640e0746fd4 /cli/dts/lib.deno.unstable.d.ts | |
parent | 83bece56b01f6997cb71e9289a4d83a398cde0c8 (diff) |
refactor(cli): rename Deno.emit() bundle options to "module" and "classic" (#10332)
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 908c433bf..d955a825f 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -441,10 +441,10 @@ declare namespace Deno { */ export interface EmitOptions { /** Indicate that the source code should be emitted to a single file - * JavaScript bundle that is a single ES module (`"esm"`) or a single file - * self contained script we executes in an immediately invoked function - * when loaded (`"iife"`). */ - bundle?: "esm" | "iife"; + * JavaScript bundle that is a single ES module (`"module"`) or a single + * file self contained script we executes in an immediately invoked function + * when loaded (`"classic"`). */ + bundle?: "module" | "classic"; /** If `true` then the sources will be typed checked, returning any * diagnostic errors in the result. If `false` type checking will be * skipped. Defaults to `true`. |