@types/tgfancy 0.13.2 → 0.13.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.
- tgfancy/README.md +3 -3
- tgfancy/index.d.ts +2 -2
- tgfancy/package.json +3 -3
tgfancy/README.md
CHANGED
|
@@ -14,11 +14,11 @@ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree
|
|
|
14
14
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
15
15
|
// TypeScript Version: 2.3
|
|
16
16
|
|
|
17
|
-
import * as TelegramBot from
|
|
17
|
+
import * as TelegramBot from "node-telegram-bot-api";
|
|
18
18
|
|
|
19
19
|
declare namespace Tgfancy {
|
|
20
20
|
interface ChatIdResolutionOptions {
|
|
21
|
-
resolve(token: string, chatId: number | string, callback: (
|
|
21
|
+
resolve(token: string, chatId: number | string, callback: (error: Error | null, target: any) => void): void;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
interface EmojificationOptions {
|
|
@@ -88,7 +88,7 @@ export = Tgfancy;
|
|
|
88
88
|
````
|
|
89
89
|
|
|
90
90
|
### Additional Details
|
|
91
|
-
* Last updated:
|
|
91
|
+
* Last updated: Tue, 12 Sep 2023 12:34:37 GMT
|
|
92
92
|
* Dependencies: [@types/node-telegram-bot-api](https://npmjs.com/package/@types/node-telegram-bot-api)
|
|
93
93
|
* Global values: none
|
|
94
94
|
|
tgfancy/index.d.ts
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
5
|
// TypeScript Version: 2.3
|
|
6
6
|
|
|
7
|
-
import * as TelegramBot from
|
|
7
|
+
import * as TelegramBot from "node-telegram-bot-api";
|
|
8
8
|
|
|
9
9
|
declare namespace Tgfancy {
|
|
10
10
|
interface ChatIdResolutionOptions {
|
|
11
|
-
resolve(token: string, chatId: number | string, callback: (
|
|
11
|
+
resolve(token: string, chatId: number | string, callback: (error: Error | null, target: any) => void): void;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
interface EmojificationOptions {
|
tgfancy/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/tgfancy",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "TypeScript definitions for tgfancy",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tgfancy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@types/node-telegram-bot-api": "*"
|
|
24
24
|
},
|
|
25
|
-
"typesPublisherContentHash": "
|
|
26
|
-
"typeScriptVersion": "3
|
|
25
|
+
"typesPublisherContentHash": "fb16d41d87a543132c9e16018f3cf2e4ea93a937acac705a48e5da7ab3c247b6",
|
|
26
|
+
"typeScriptVersion": "4.3"
|
|
27
27
|
}
|