mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-05-15 00:26:40 +07:00
#4 made strict type checking
This commit is contained in:
parent
01211eae0f
commit
43aa09a88b
18 changed files with 138 additions and 82 deletions
|
@ -1,4 +1,4 @@
|
|||
import { ConfigGroup, GroupInstance, VkEvent } from "../types";
|
||||
import { ConfigGroup, GroupChannel, GroupInstance, VkEvent } from "../types";
|
||||
import { VkEventHandler } from "./VkEventHandler";
|
||||
import { MessageNewHandler } from "./MessageNewHandler";
|
||||
import { StubHandler } from "./StubHandler";
|
||||
|
@ -12,7 +12,7 @@ interface Handler {
|
|||
new (
|
||||
type: VkEvent,
|
||||
group: ConfigGroup,
|
||||
channel: string,
|
||||
channel: GroupChannel,
|
||||
instance: GroupInstance,
|
||||
vk: VkService,
|
||||
telegram: TelegramService,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue