diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/random.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/random.ts b/src/random.ts index 46a6fdba..64fd6948 100644 --- a/src/random.ts +++ b/src/random.ts @@ -151,6 +151,7 @@ export class Random { * boolean * * @method faker.random.boolean + * @deprecated */ boolean(): boolean { console.log( @@ -233,8 +234,12 @@ export class Random { * locale * * @method faker.random.image + * @deprecated */ image() { + console.log( + 'Deprecation Warning: faker.random.image is now located in faker.image.image' + ); return this.faker.image.image(); } |
