File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -224,11 +224,11 @@ function generateRecursiveModuleIndexes(
224
224
225
225
/**
226
226
* Intermediate helper function to allow selectively updating locale data files.
227
- * Use the `updateLocaleFileHook()` to temporarily add the custom per file logic.
227
+ * Use the `updateLocaleFileHook()` method to temporarily add your custom per file processing/update logic.
228
228
*
229
229
* @param filePath The full file path to the file.
230
230
*/
231
- function updateLocaleFile ( filePath : string ) {
231
+ function updateLocaleFile ( filePath : string ) : void {
232
232
if ( lstatSync ( filePath ) . isFile ( ) ) {
233
233
const pathParts = filePath
234
234
. substring ( pathLocales . length + 1 , filePath . length - 3 )
@@ -251,7 +251,7 @@ function updateLocaleFileHook(
251
251
filePath : string ,
252
252
locale : string ,
253
253
localePath : string [ ]
254
- ) {
254
+ ) : void {
255
255
if ( filePath === 'never' ) {
256
256
console . log ( filePath + ' <-> ' + locale + ' @ ' + localePath . join ( ' -> ' ) ) ;
257
257
}
You can’t perform that action at this time.
0 commit comments