diff options
| author | Caleb Burton <[email protected]> | 2022-01-25 12:16:45 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-25 18:16:45 +0100 |
| commit | bbc67aa2cb60b5fe03d9a77a111045822e461f02 (patch) | |
| tree | 89c044c9af43a27b354d450a4b41baebeeb8f361 /src/random.ts | |
| parent | 4406816a12714988b9ecac5832108ee2dfc10d23 (diff) | |
| download | faker-bbc67aa2cb60b5fe03d9a77a111045822e461f02.tar.xz faker-bbc67aa2cb60b5fe03d9a77a111045822e461f02.zip | |
docs: readme cleanup (#251)
Diffstat (limited to 'src/random.ts')
| -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(); } |
