summaryrefslogtreecommitdiff
path: root/prettier/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'prettier/util.ts')
-rw-r--r--prettier/util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/prettier/util.ts b/prettier/util.ts
index 1c5513c8d..b8f79005d 100644
--- a/prettier/util.ts
+++ b/prettier/util.ts
@@ -2,7 +2,7 @@
const { build, run } = Deno;
// Runs a command in cross-platform way
-export function xrun(opts): Deno.Process {
+export function xrun(opts: Deno.RunOptions): Deno.Process {
return run({
...opts,
args: build.os === "win" ? ["cmd.exe", "/c", ...opts.args] : opts.args