@sefinek/random-emoji 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -1
- package/README.md +1 -0
- package/index.d.ts +11 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -24,6 +24,7 @@ console.log(random.unicode());
|
|
|
24
24
|
// 2. Random emoji with name and type
|
|
25
25
|
const emoji = random.emojis();
|
|
26
26
|
console.log(`Name: ${emoji.name}; Emoji: ${emoji.content};`);
|
|
27
|
+
// > Name: jack-o-lantern; Emoji: 🎃;
|
|
27
28
|
|
|
28
29
|
// 3. Random cat
|
|
29
30
|
const cat = random.cats();
|
package/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export function unicode():
|
|
2
|
-
export function emojis(): Object
|
|
3
|
-
export function cats(): Object
|
|
4
|
-
export function hearts(): Object
|
|
5
|
-
export function foods(): Object
|
|
6
|
-
export function circles(): Object
|
|
1
|
+
export function unicode(): string;
|
|
2
|
+
export function emojis(): Object;
|
|
3
|
+
export function cats(): Object;
|
|
4
|
+
export function hearts(): Object;
|
|
5
|
+
export function foods(): Object;
|
|
6
|
+
export function circles(): Object;
|
|
7
7
|
|
|
8
8
|
export class kaomojis {
|
|
9
|
-
cat()
|
|
10
|
-
dog()
|
|
11
|
-
owo()
|
|
12
|
-
uwu()
|
|
13
|
-
love()
|
|
9
|
+
cat();
|
|
10
|
+
dog();
|
|
11
|
+
owo();
|
|
12
|
+
uwu();
|
|
13
|
+
love();
|
|
14
14
|
}
|