Replies: 1 comment 1 reply
-
Telegraf died? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm using TypeScript and here's the thing, I have a WizardScene which is fully working without any problems, and as told in all sorts of sources I'm trying to add an instance of this scene to the array by creating an instance of Stage.
But ts gives me this:
Roughly speaking, that in Stage.Scene there is an argument that takes an array consisting of elements of type BaseScene and therefore WizardScene can not be added there, it begs the question, then why almost all sources, even examples written in the Telegraf repository itself tell me that you can do so. Or maybe I don't understand something?
Beta Was this translation helpful? Give feedback.
All reactions