From 637f81bf9035bdcf030c2dfcd1a875de2721ad71 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sun, 29 Dec 2024 22:42:50 +0700 Subject: docs: fix examples which return string/number (#3348) --- src/modules/commerce/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/commerce') diff --git a/src/modules/commerce/index.ts b/src/modules/commerce/index.ts index 61dd9a9c..70482d80 100644 --- a/src/modules/commerce/index.ts +++ b/src/modules/commerce/index.ts @@ -129,11 +129,11 @@ export class CommerceModule extends ModuleBase { * @param options.symbol The currency value to use. Defaults to `''`. * * @example - * faker.commerce.price() // 828.07 - * faker.commerce.price({ min: 100 }) // 904.19 - * faker.commerce.price({ min: 100, max: 200 }) // 154.55 - * faker.commerce.price({ min: 100, max: 200, dec: 0 }) // 133 - * faker.commerce.price({ min: 100, max: 200, dec: 0, symbol: '$' }) // $114 + * faker.commerce.price() // '828.07' + * faker.commerce.price({ min: 100 }) // '904.19' + * faker.commerce.price({ min: 100, max: 200 }) // '154.55' + * faker.commerce.price({ min: 100, max: 200, dec: 0 }) // '133' + * faker.commerce.price({ min: 100, max: 200, dec: 0, symbol: '$' }) // '$114' * * @since 3.0.0 */ -- cgit v1.2.3