Update vite-env.d.ts

This commit is contained in:
Egor
2026-01-19 08:00:19 +03:00
committed by GitHub
parent 5e41c2a8b4
commit e3896eb769

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: {