We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 789663c commit eaa1d54Copy full SHA for eaa1d54
index.d.ts
@@ -118,9 +118,9 @@ export interface NodemonConfig {
118
}
119
120
export interface NodemonSettings extends NodemonConfig {
121
- script: string;
+ script: string;
122
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 };
+ events?: { [key: string]: string };
124
env?: { [key: string]: string };
125
exec?: string; // node, python, etc
126
execArgs?: string[]; // args passed to node, etc,
@@ -136,4 +136,6 @@ export interface WatchOptions {
136
interval: number;
137
138
139
-export default function nodemon(settings: NodemonSettings): Nodemon;
+const nodemon: Nodemon = (settings: NodemonSettings): Nodemon => {};
140
+
141
+export default nodemon;
0 commit comments