summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts14
1 files changed, 12 insertions, 2 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index 3fb81c603..0833c3301 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -434,7 +434,12 @@ declare namespace Deno {
scopes?: Record<string, Record<string, string>>;
}
- interface EmitOptions {
+ /**
+ * **UNSTABLE**: new API, yet to be vetted.
+ *
+ * The options for `Deno.emit()` API.
+ */
+ 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
@@ -467,7 +472,12 @@ declare namespace Deno {
sources?: Record<string, string>;
}
- interface EmitResult {
+ /**
+ * **UNSTABLE**: new API, yet to be vetted.
+ *
+ * The result of `Deno.emit()` API.
+ */
+ export interface EmitResult {
/** Diagnostic messages returned from the type checker (`tsc`). */
diagnostics: Diagnostic[];
/** Any emitted files. If bundled, then the JavaScript will have the