@@ -1618,6 +1618,7 @@ declare class Compiler {
16181618 afterResolvers : SyncHook < [ Compiler ] , void > ;
16191619 entryOption : SyncBailHook < [ string , EntryNormalized ] , boolean > ;
16201620 } > ;
1621+ webpack : typeof exports ;
16211622 name : string ;
16221623 parentCompilation : Compilation ;
16231624 root : Compiler ;
@@ -2222,6 +2223,10 @@ declare class Dependency {
22222223 readonly type : string ;
22232224 readonly category : string ;
22242225 getResourceIdentifier ( ) : string ;
2226+
2227+ /**
2228+ * Returns the referenced module and export
2229+ */
22252230 getReference ( moduleGraph : ModuleGraph ) : never ;
22262231
22272232 /**
@@ -3566,7 +3571,15 @@ declare interface HandleModuleCreationOptions {
35663571}
35673572declare class Hash {
35683573 constructor ( ) ;
3574+
3575+ /**
3576+ * Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}
3577+ */
35693578 update ( data : string | Buffer , inputEncoding ?: string ) : Hash ;
3579+
3580+ /**
3581+ * Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}
3582+ */
35703583 digest ( encoding ?: string ) : string | Buffer ;
35713584}
35723585type HashFunction = string | typeof Hash ;
@@ -10254,6 +10267,7 @@ declare namespace exports {
1025410267 export let createFileSerializer : ( fs ?: any ) => Serializer ;
1025510268 export { MEASURE_START_OPERATION , MEASURE_END_OPERATION } ;
1025610269 }
10270+ export const cleverMerge : < T , O > ( first : T , second : O ) => T & O ;
1025710271 }
1025810272 export namespace sources {
1025910273 export {
0 commit comments