diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts index c61a7b6..466aecb 100644 --- a/src/vite-env.d.ts +++ b/src/vite-env.d.ts @@ -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: {