aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCaleb Burton <[email protected]>2022-01-25 12:16:45 -0500
committerGitHub <[email protected]>2022-01-25 18:16:45 +0100
commitbbc67aa2cb60b5fe03d9a77a111045822e461f02 (patch)
tree89c044c9af43a27b354d450a4b41baebeeb8f361 /src
parent4406816a12714988b9ecac5832108ee2dfc10d23 (diff)
downloadfaker-bbc67aa2cb60b5fe03d9a77a111045822e461f02.tar.xz
faker-bbc67aa2cb60b5fe03d9a77a111045822e461f02.zip
docs: readme cleanup (#251)
Diffstat (limited to 'src')
-rw-r--r--src/random.ts5
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();
}