mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 06:50:19 +00:00
[@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:
committed by
John Reilly
parent
5d15e3d158
commit
8788cebbff
Vendored
+4
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user