Skip to content

Commit 592483a

Browse files
committed
convert utils to typescript
1 parent df2fa2d commit 592483a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/util/util.js src/util/util.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
/** @module env/util */
2-
import { execaSync } from 'execa';
1+
import { execaSync, type SyncOptions } from 'execa';
32

4-
const execaOutput = (cmg, args, options) => {
3+
const execaOutput = (cmg: string, args: string[], options: SyncOptions) => {
54
try {
65
const result = execaSync(cmg, args, options);
76
if (!result.failed) {

0 commit comments

Comments
 (0)