summaryrefslogtreecommitdiff
path: root/gjs/src/process.ts
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-07-20 14:05:47 +0200
committerAylur <[email protected]>2024-07-20 14:05:47 +0200
commit1c9377ec696c1f8269bf30a7af1e4a9566d55625 (patch)
tree2a9a7e445b8e999f3fdac326d2386459d26868da /gjs/src/process.ts
parenta1f9272f4576fd3c366581464223e08a35ccf99f (diff)
update eslint, ts-for-gir
Diffstat (limited to 'gjs/src/process.ts')
-rw-r--r--gjs/src/process.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/gjs/src/process.ts b/gjs/src/process.ts
index 59ab328..f7ff7b0 100644
--- a/gjs/src/process.ts
+++ b/gjs/src/process.ts
@@ -1,9 +1,9 @@
import { Astal } from "./imports.js"
type Args<Out = void, Err = void> = {
- cmd: string | string[],
- out?: (stdout: string) => Out,
- err?: (stderr: string) => Err,
+ cmd: string | string[]
+ out?: (stdout: string) => Out
+ err?: (stderr: string) => Err
}
function args<O, E>(argsOrCmd: Args | string | string[], onOut: O, onErr: E) {