diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-02-16 12:11:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 12:11:32 +0100 |
commit | 848e2c0d57febf744ed585702f314dc64bc8b4ae (patch) | |
tree | e5f841cd736cc2a1a0ed6e1dcf70b9385289c2d1 /cli/tsc/dts/lib.deno.ns.d.ts | |
parent | e215656865860b55cee489673f64090c2f0d8302 (diff) |
feat: Deprecate Deno.run API in favor of Deno.Command (#17630)
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 154b5f15f..33ca3a133 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -3688,7 +3688,10 @@ declare namespace Deno { options?: { recursive: boolean }, ): FsWatcher; - /** Options which can be used with {@linkcode Deno.run}. + /** + * @deprecated Use {@linkcode Deno.Command} instead. + * + * Options which can be used with {@linkcode Deno.run}. * * @category Sub Process */ export interface RunOptions { @@ -3746,7 +3749,10 @@ declare namespace Deno { stdin?: "inherit" | "piped" | "null" | number; } - /** The status resolved from the `.status()` method of a + /** + * @deprecated Use {@linkcode Deno.Command} instead. + * + * 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 @@ -3766,6 +3772,8 @@ 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. * @@ -3922,7 +3930,10 @@ declare namespace Deno { handler: () => void, ): void; - /** Spawns new subprocess. RunOptions must contain at a minimum the `opt.cmd`, + /** + * @deprecated Use {@linkcode Deno.Command} instead. + * + * 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 |