UNPKG

passport-telegram-official

Version:

Telegram (not official, just the name) authentication strategy for Passport (https://core.telegram.org/widgets/login)

6 lines (5 loc) 170 B
export default function deferPromise(): { then: (f: any) => Promise<unknown>; callback: (err: any, ...data: any[]) => any; promise: Promise<unknown>; };