DefinitelyTyped/types/event-hooks-webpack-plugin/event-hooks-webpack-plugin-tests.ts
2018-04-16 17:40:11 -07:00

33 lines
799 B
TypeScript

import EventHooksPlugin = require('event-hooks-webpack-plugin');
new EventHooksPlugin({});
new EventHooksPlugin({
done: () => {},
});
new EventHooksPlugin({
shouldEmit: () => {},
done: () => {},
additionalPass: () => {},
beforeRun: () => {},
run: () => {},
emit: () => {},
afterEmit: () => {},
thisCompilation: () => {},
compilation: () => {},
normalModuleFactory: () => {},
contextModuleFactory: () => {},
beforeCompile: () => {},
compile: () => {},
make: () => {},
afterCompile: () => {},
watchRun: () => {},
failed: () => {},
invalid: () => {},
watchClose: () => {},
environment: () => {},
afterEnvironment: () => {},
afterPlugins: () => {},
afterResolvers: () => {},
entryOption: () => {},
});