Skip to content

Commit c9cb524

Browse files
ST-DDTmatthewmayer
andauthored
Update src/modules/helpers/index.ts
Co-authored-by: Matt Mayer <[email protected]>
1 parent 8688ca0 commit c9cb524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/helpers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ export class SimpleHelpersModule extends SimpleModuleBase {
11361136
* @example
11371137
* faker.helpers.multiple(() => faker.person.firstName()) // [ 'Aniya', 'Norval', 'Dallin' ]
11381138
* faker.helpers.multiple(() => faker.person.firstName(), { count: 3 }) // [ 'Santos', 'Lavinia', 'Lavinia' ]
1139-
* faker.helpers.multiple((_, i) => `Person ${i + 1}` ) // [ 'Person 1', 'Person 2', 'Person 3' ]
1139+
* faker.helpers.multiple((_, i) => `${faker.color.human()}-${i + 1}` ) // [ 'orange-1', 'orchid-2', 'sky blue-3' ]
11401140
*
11411141
* @since 8.0.0
11421142
*/

0 commit comments

Comments
 (0)