Merge pull request #38 from BEDOLAGA-DEV/dev

Update vite-env.d.ts
This commit is contained in:
Egor
2026-01-19 08:00:36 +03:00
committed by GitHub

2
src/vite-env.d.ts vendored
View File

@@ -28,7 +28,7 @@ interface TelegramWebApp {
ready: () => void
expand: () => void
close: () => void
openLink: (url: string, options?: { try_instant_view?: boolean }) => void
openLink: (url: string, options?: { try_instant_view?: boolean; try_browser?: boolean }) => void
openTelegramLink: (url: string) => void
openInvoice: (url: string, callback?: (status: 'paid' | 'cancelled' | 'failed' | 'pending') => void) => void
MainButton: {