diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2023-02-22 07:27:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 07:27:00 -0500 |
commit | 4afa150f210d0329bfd9535ce8c8ff60f0b35500 (patch) | |
tree | c6807f671dbfa73ed0c70d4479c4d1171f0e2d7e /cli/tsc | |
parent | 2f98c3e1a6fe5c0c4933ec38e91af842b1e78947 (diff) |
Revert "feat: Deprecate Deno.run API in favor of Deno.Command (#17630)" (#17875)
Deno.Command needs to be stabilized first and allow people to upgrade to
it before we can deprecate Deno.run. Otherwise lint will suddenly fail
with deprecated errors without giving people a chance to update.
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 33ca3a133..154b5f15f 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -3688,10 +3688,7 @@ declare namespace Deno { options?: { recursive: boolean }, ): FsWatcher; - /** - * @deprecated Use {@linkcode Deno.Command} instead. - * - * Options which can be used with {@linkcode Deno.run}. + /** Options which can be used with {@linkcode Deno.run}. * * @category Sub Process */ export interface RunOptions { @@ -3749,10 +3746,7 @@ declare namespace Deno { stdin?: "inherit" | "piped" | "null" | number; } - /** - * @deprecated Use {@linkcode Deno.Command} instead. - * - * The status resolved from the `.status()` method of a + /** The status resolved from the `.status()` method of a * {@linkcode Deno.Process} instance. * * If `success` is `true`, then `code` will be `0`, but if `success` is @@ -3772,8 +3766,6 @@ declare namespace Deno { }; /** - * * @deprecated Use {@linkcode Deno.Command} instead. - * * Represents an instance of a sub process that is returned from * {@linkcode Deno.run} which can be used to manage the sub-process. * @@ -3930,10 +3922,7 @@ declare namespace Deno { handler: () => void, ): void; - /** - * @deprecated Use {@linkcode Deno.Command} instead. - * - * Spawns new subprocess. RunOptions must contain at a minimum the `opt.cmd`, + /** Spawns new subprocess. RunOptions must contain at a minimum the `opt.cmd`, * an array of program arguments, the first of which is the binary. * * ```ts |