diff --git a/README.md b/README.md index 8364958..ca10b95 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@
-[![Bot API](https://img.shields.io/badge/Bot%20API-7.10-blue?logo=telegram&style=flat&labelColor=000&color=3b82f6)](https://core.telegram.org/bots/api) [![npm](https://img.shields.io/npm/v/@gramio/scenes?logo=npm&style=flat&labelColor=000&color=3b82f6)](https://www.npmjs.org/package/@gramio/scenes) [![JSR](https://jsr.io/badges/@gramio/scenes)](https://jsr.io/@gramio/scenes) [![JSR Score](https://jsr.io/badges/@gramio/scenes/score)](https://jsr.io/@gramio/scenes) diff --git a/package.json b/package.json index f07c576..c106077 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gramio/scenes", - "version": "0.0.4", + "version": "0.0.5", "description": "Scenes plugin for GramIO", "main": "./dist/index.cjs", "module": "./dist/index.js", diff --git a/src/scene.ts b/src/scene.ts index bfd6812..1e1308f 100644 --- a/src/scene.ts +++ b/src/scene.ts @@ -58,16 +58,19 @@ export class Scene< SceneParams, Errors, State, - Derives & { - global: { - scene: Modify< - Derives["global"]["scene"], - { - params: SceneParams; - } - >; - }; - } + Modify< + Derives, + { + global: { + scene: Modify< + Derives["global"]["scene"], + { + params: SceneParams; + } + >; + }; + } + > >; }