UNPKG

@telegram-apps/sdk

Version:

TypeScript Source Development Kit for Telegram Mini Apps client application.

9 lines (8 loc) 356 B
import { RequestOptions } from '@telegram-apps/bridge'; import { PromiseOptions } from 'better-promises'; /** * Function with any arguments list and return type. */ export type AnyFn = (...args: any[]) => any; export type RequestOptionsNoCapture = Omit<RequestOptions<never>, 'capture'>; export type AsyncOptions = Omit<PromiseOptions, 'rejectOnAbort'>;