Funtov Kirill
Funtov Kirill
I do not know, if there are some messages that will fail. I'm using TS, and I get errors not in runtime but at compile time. It is ok, if...
> but we may want to set this field as optional everywhere to prevent breaking changes It should not be optional, when you use it as arguments: it is great...
Right now there is no good way to use conversations.history messages to copy or update - that is kinda sad. If we know that api returns in fact KnownBlock[], maybe...
It is not really safe: ``` const colors = new Set(['red', 'blue'] as const); const f = (s: Set) => { s.add("asd"); } f(colors); console.log(colors.entries()); ```
I do not know, if there are some messages that will fail. I'm using TS, and I get errors not in runtime but at compile time. It is ok, if...
> but we may want to set this field as optional everywhere to prevent breaking changes It should not be optional, when you use it as arguments: it is great...
Right now there is no good way to use conversations.history messages to copy or update - that is kinda sad. If we know that api returns in fact KnownBlock[], maybe...