UNPKG

@rainb0w-clwn/passport-telegram-official

Version:

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

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