File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ /// <reference types="node" />
2
+ export namespace ProcessOnSpawn {
3
+ export interface SpawnOptions {
4
+ env : NodeJS . ProcessEnv
5
+ cwd : string
6
+ execPath : string
7
+ args : ReadonlyArray < string >
8
+ detached : boolean
9
+ uid ?: number
10
+ gid ?: number
11
+ windowsVerbatimArguments : boolean
12
+ windowsHide : boolean
13
+ }
14
+ export type Handler = ( opts : SpawnOptions ) => any
15
+ }
16
+ export function addListener ( fn : ProcessOnSpawn . Handler ) : void
17
+ export function prependListener ( fn : ProcessOnSpawn . Handler ) : void
18
+ export function removeListener ( fn : ProcessOnSpawn . Handler ) : void
19
+ export function removeAllListeners ( ) : void
Original file line number Diff line number Diff line change 31
31
"fromentries" : " ^1.2.0"
32
32
},
33
33
"devDependencies" : {
34
+ "@types/node" : " ^20.1.3" ,
34
35
"c8" : " ^7.0.0" ,
35
36
"if-ver" : " ^1.1.0" ,
36
37
"standard-version" : " ^8.0.0" ,
You can’t perform that action at this time.
0 commit comments