[@types/webpack] Adding missing webpack property "version" (#34440)

* Adding missing version property

Closes #34434

* Changing void for undefined

* Removing trailing space
This commit is contained in:
Rubens Pinheiro
2019-04-03 20:37:36 +01:00
committed by John Reilly
parent 5d15e3d158
commit 8788cebbff
+4
View File
@@ -16,6 +16,7 @@
// Ryan Waskiewicz <https://github.com/rwaskiewicz>
// Kyle Uehlein <https://github.com/kuehlein>
// Grgur Grisogono <https://github.com/grgur>
// Rubens Pinheiro Gonçalves Cavalcante <https://github.com/rubenspgcavalcante>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -43,6 +44,9 @@ declare function webpack(
declare function webpack(options: webpack.Configuration[]): webpack.MultiCompiler;
declare namespace webpack {
/** Webpack package version. */
const version: string | undefined;
interface Configuration {
/** Enable production optimizations or development hints. */
mode?: "development" | "production" | "none";