Skip to content

Commit

Permalink
✏️ Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisDmitry committed Aug 26, 2023
1 parent ea02090 commit aa2673b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export declare namespace TelegramWebApps {
/**
* To connect your Web App to the Telegram client, place the script telegram-web-app.js
* in the `<head>` tag before any other scripts, using this code:
* ```
* ```html
* <script src="https://telegram.org/js/telegram-web-app.js"></script>
* ```
* Once the script is connected, a `window.Telegram.WebApp` object will become available
Expand Down Expand Up @@ -625,7 +625,7 @@ export declare namespace TelegramWebApps {
* - *rigid*, indicates a collision between hard or inflexible UI objects,
* - *soft*, indicates a collision between soft or flexible UI objects.
*/
impactOccured(style: 'light' | 'medium' | 'heavy' | 'rigid' | 'soft'): HapticFeedback
impactOccurred(style: 'light' | 'medium' | 'heavy' | 'rigid' | 'soft'): HapticFeedback
/**
* `Bot API 6.1+` A method tells that a task or action has succeeded, failed, or
* produced a warning. The Telegram app may play the appropriate haptics based on type
Expand All @@ -634,7 +634,7 @@ export declare namespace TelegramWebApps {
* - *success*, indicates that a task or action has completed successfully,
* - *warning*, indicates that a task or action produced a warning.
*/
notificationOccured(type: 'error' | 'success' | 'warning'): HapticFeedback
notificationOccurred(type: 'error' | 'success' | 'warning'): HapticFeedback
/**
* `Bot API 6.1+` A method tells that the user has changed a selection. The Telegram
* app may play the appropriate haptics.
Expand Down

0 comments on commit aa2673b

Please sign in to comment.