File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,9 @@ export interface NodemonConfig {
118118}
119119
120120export interface NodemonSettings extends NodemonConfig {
121- script : string ;
121+ script : string ;
122122 ext ?: string ; // "js,mjs" etc (should really support an array of strings, but I don't think it does right now)
123- events ?: { [ key : string ] : string } ;
123+ events ?: { [ key : string ] : string } ;
124124 env ?: { [ key : string ] : string } ;
125125 exec ?: string ; // node, python, etc
126126 execArgs ?: string [ ] ; // args passed to node, etc,
@@ -136,4 +136,6 @@ export interface WatchOptions {
136136 interval : number ;
137137}
138138
139- export default function nodemon ( settings : NodemonSettings ) : Nodemon ;
139+ const nodemon : Nodemon = ( settings : NodemonSettings ) : Nodemon => { } ;
140+
141+ export default nodemon ;
You can’t perform that action at this time.
0 commit comments