Skip to content

Commit

Permalink
fix: type issue on params
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Nov 6, 2024
1 parent 500419b commit 7ec3765
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<div align="center">

[![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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
23 changes: 13 additions & 10 deletions src/scene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
>;
};
}
>
>;
}

Expand Down

0 comments on commit 7ec3765

Please sign in to comment.