Skip to content

Commit

Permalink
Fixed issue with exactOptionalPropertyTypes (#14)
Browse files Browse the repository at this point in the history
* Fixed a issue with exactOptionalPropertyTypes

* Update package.json

Co-authored-by: Tecardo1 <[email protected]>
  • Loading branch information
HeeroML and HeeroML authored Jan 15, 2022
1 parent 14255fd commit 69edd91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@grammyjs/i18n",
"version": "0.5.0",
"version": "0.5.1",
"description": "Internationalization middleware for grammY and Telegraf",
"keywords": [
"telegram bot",
Expand Down
2 changes: 1 addition & 1 deletion source/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const compile = require('compile-template');
interface MinimalMiddlewareContext {
readonly from?: {
readonly language_code?: string;
};
} | undefined;
readonly chat: unknown;

readonly i18n: I18nContext;
Expand Down

0 comments on commit 69edd91

Please sign in to comment.