@telegram-apps/sdk
Version:
TypeScript Source Development Kit for Telegram Mini Apps client application.
8 lines (7 loc) • 314 B
TypeScript
import { Computed } from '@telegram-apps/signals';
import { MethodName } from '@telegram-apps/bridge';
/**
* @returns A signal indicating if the specified Mini Apps method is supported.
* @param method - Mini Apps method name
*/
export declare function createIsSupported(method: MethodName): Computed<boolean>;