-
Notifications
You must be signed in to change notification settings - Fork 21
/
typings.d.ts
15 lines (12 loc) · 661 Bytes
/
typings.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { Settings as NodemonOptions } from 'nodemon';
// We prioritise supporting CommonJS than ES6 syntax here.
// Typescript users will have to add `esModuleInterop` in `compilerOptions`
// or set `"allowSyntheticDefaultImports": true`.
// https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require
export = NodemonPlugin;
declare class NodemonPlugin {
constructor(options?: NodemonOptions);
// yields error TS2321: Excessive stack depth comparing types 'NodemonPlugin' and '((this: Compiler, compiler: Compiler) => void) | WebpackPluginInstance'.
//apply(compiler: webpack.Compiler): void;
apply(compiler: any): void;
}