diff options
| -rw-r--r-- | CONTRIBUTING.md | 4 | ||||
| -rw-r--r-- | src/modules/datatype/index.ts | 2 | ||||
| -rw-r--r-- | src/modules/random/index.ts | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 35ed17d1..12e7b59c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -167,7 +167,7 @@ Example: /** * @see faker.cat.random() * - * @deprecated Use faker.cat.random() instead. + * @deprecated Use `faker.cat.random()` instead. */ get cat() { deprecated({ @@ -216,7 +216,7 @@ JSDoc will be read and automatically processed by `generate:api-docs` and theref * * @since 7.5.0 * - * @deprecated Use faker.cat.random() instead. + * @deprecated Use `faker.cat.random()` instead. */ function foo(options: { test: string } = {}): string { // implementation diff --git a/src/modules/datatype/index.ts b/src/modules/datatype/index.ts index 6a03362f..540c4ab5 100644 --- a/src/modules/datatype/index.ts +++ b/src/modules/datatype/index.ts @@ -220,7 +220,7 @@ export class DatatypeModule { * * @since 5.5.0 * - * @deprecated Use faker.string.sample() instead. + * @deprecated Use `faker.string.sample()` instead. */ string( options: diff --git a/src/modules/random/index.ts b/src/modules/random/index.ts index 809c9322..2a44b0e2 100644 --- a/src/modules/random/index.ts +++ b/src/modules/random/index.ts @@ -245,7 +245,7 @@ export class RandomModule { * * @since 5.0.0 * - * @deprecated Use faker.string.alpha() instead. + * @deprecated Use `faker.string.alpha()` instead. */ alpha( options: @@ -305,7 +305,7 @@ export class RandomModule { * * @since 3.1.0 * - * @deprecated Use faker.string.alphanumeric() instead. + * @deprecated Use `faker.string.alphanumeric()` instead. */ alphaNumeric( count: number = 1, @@ -356,7 +356,7 @@ export class RandomModule { * * @since 6.3.0 * - * @deprecated Use faker.string.numeric() instead. + * @deprecated Use `faker.string.numeric()` instead. */ numeric( length: number = 1, |
