diff --git a/types/index.d.ts b/types/index.d.ts index ed75e96..4901e7b 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -110,6 +110,7 @@ declare namespace Config { devtoolFallbackModuleFilenameTemplate(value: any): this; devtoolLineToLine(value: any): this; devtoolModuleFilenameTemplate(value: any): this; + globalObject(value: string): this; hashFunction(value: string): this; hashDigest(value: string): this; hashDigestLength(value: number): this; diff --git a/types/test/webpack-chain-tests.ts b/types/test/webpack-chain-tests.ts index bba8e14..3d37321 100644 --- a/types/test/webpack-chain-tests.ts +++ b/types/test/webpack-chain-tests.ts @@ -63,6 +63,7 @@ config .devtoolLineToLine('') .devtoolModuleFilenameTemplate('') .filename('main.js') + .globalObject('global') .hashFunction('md5') .hashDigest('md5') .hashDigestLength(15)