From bbc67aa2cb60b5fe03d9a77a111045822e461f02 Mon Sep 17 00:00:00 2001 From: Caleb Burton Date: Tue, 25 Jan 2022 12:16:45 -0500 Subject: docs: readme cleanup (#251) --- src/random.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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(); } -- cgit v1.2.3