migrated wbot initialization to typescript

This commit is contained in:
canove
2020-09-20 14:06:20 -03:00
parent 8b99690c4a
commit cb3ba09252
10 changed files with 383 additions and 345 deletions

5
backend/src/@types/WAWebJS.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
declare namespace WAWebJS {
export interface ClientInfo {
meuId: number;
}
}

View File

@@ -1,5 +1,5 @@
declare namespace Express {
export interface Request {
user: { id: string; profile: string };
}
export interface Request {
user: { id: string; profile: string };
}
}

View File

@@ -0,0 +1 @@
declare module "qrcode-terminal";