Skip to content

Commit

Permalink
docs(finance): add seeAlsos (#3344)
Browse files Browse the repository at this point in the history
* docs(finance): add seeAlsos

* chore: rephrase
  • Loading branch information
ST-DDT authored Jan 11, 2025
1 parent 42dade5 commit 5d4754c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/modules/finance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ export class FinanceModule extends ModuleBase {
*
* @param length The length of the account number. Defaults to `8`.
*
* @see faker.string.numeric(): For generating the number with greater control.
*
* @example
* faker.finance.accountNumber() // '92842238'
* faker.finance.accountNumber(5) // '32564'
Expand All @@ -77,6 +79,8 @@ export class FinanceModule extends ModuleBase {
* @param options An options object.
* @param options.length The length of the account number. Defaults to `8`.
*
* @see faker.string.numeric(): For generating the number with greater control.
*
* @example
* faker.finance.accountNumber() // '92842238'
* faker.finance.accountNumber({ length: 5 }) // '32564'
Expand All @@ -97,6 +101,8 @@ export class FinanceModule extends ModuleBase {
* @param optionsOrLength An options object or the length of the account number.
* @param optionsOrLength.length The length of the account number. Defaults to `8`.
*
* @see faker.string.numeric(): For generating the number with greater control.
*
* @example
* faker.finance.accountNumber() // '92842238'
* faker.finance.accountNumber(5) // '28736'
Expand All @@ -122,6 +128,8 @@ export class FinanceModule extends ModuleBase {
* @param options An options object or the length of the account number.
* @param options.length The length of the account number. Defaults to `8`.
*
* @see faker.string.numeric(): For generating the number with greater control.
*
* @example
* faker.finance.accountNumber() // '92842238'
* faker.finance.accountNumber(5) // '28736'
Expand Down Expand Up @@ -368,6 +376,8 @@ export class FinanceModule extends ModuleBase {
* @param options.symbol The symbol used to prefix the amount. Defaults to `''`.
* @param options.autoFormat If true this method will use `Number.toLocaleString()`. Otherwise it will use `Number.toFixed()`.
*
* @see faker.number.float(): For generating the amount with greater control.
*
* @example
* faker.finance.amount() // '617.87'
* faker.finance.amount({ min: 5, max: 10 }) // '5.53'
Expand Down Expand Up @@ -718,6 +728,8 @@ export class FinanceModule extends ModuleBase {
*
* @throws Will throw an error if length is less than 1.
*
* @see faker.string.numeric(): For generating the pin with greater control.
*
* @example
* faker.finance.pin() // '5067'
* faker.finance.pin(6) // '213789'
Expand All @@ -733,6 +745,8 @@ export class FinanceModule extends ModuleBase {
*
* @throws Will throw an error if length is less than 1.
*
* @see faker.string.numeric(): For generating the pin with greater control.
*
* @example
* faker.finance.pin() // '5067'
* faker.finance.pin({ length: 6 }) // '213789'
Expand All @@ -755,6 +769,8 @@ export class FinanceModule extends ModuleBase {
*
* @throws Will throw an error if length is less than 1.
*
* @see faker.string.numeric(): For generating the pin with greater control.
*
* @example
* faker.finance.pin() // '5067'
* faker.finance.pin({ length: 6 }) // '213789'
Expand Down Expand Up @@ -782,6 +798,8 @@ export class FinanceModule extends ModuleBase {
*
* @throws Will throw an error if length is less than 1.
*
* @see faker.string.numeric(): For generating the pin with greater control.
*
* @example
* faker.finance.pin() // '5067'
* faker.finance.pin({ length: 6 }) // '213789'
Expand Down

0 comments on commit 5d4754c

Please sign in to comment.