File tree 1 file changed +3
-3
lines changed
packages/hardhat-core/scripts
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -184,15 +184,15 @@ const loggerFile = `\
184
184
// scripts/console-library-generator.ts
185
185
// ------------------------------------
186
186
187
- ${ Array . from ( SINGLE_TYPES . map ( ( t ) => capitalize ( t . type ) ) )
188
- . map ( ( t ) => `export const ${ t } Ty = "${ t } ";` )
187
+ ${ Array . from ( SINGLE_TYPES . map ( ( param ) => capitalize ( param . type ) ) )
188
+ . map ( ( type ) => `export const ${ type } Ty = "${ type } ";` )
189
189
. join ( "\n" ) }
190
190
191
191
/** Maps from a 4-byte function selector to a signature (argument types) */
192
192
export const CONSOLE_LOG_SIGNATURES: Record<number, string[]> = {
193
193
${ Array . from ( CONSOLE_LOG_SIGNATURES )
194
194
. map ( ( [ sig , types ] ) => {
195
- const typeNames = types . map ( ( t ) => `${ capitalize ( t ) } Ty` ) . join ( ", " ) ;
195
+ const typeNames = types . map ( ( type ) => `${ capitalize ( type ) } Ty` ) . join ( ", " ) ;
196
196
return ` ${ sig } : [${ typeNames } ],` ;
197
197
} )
198
198
. join ( "\n" ) }
You can’t perform that action at this time.
0 commit comments