Artem Kobzar
Artem Kobzar
It seems like really hard task. I will try to find some solution, but i don’t think, that we will find something strict and easy to use. Thank you for...
@MaxGraey, yes. Because the problem is next (I describe it in details in [Array Subtyping](https://hegel.js.org/docs/array-types#subtyping) ): ```ts // Your code class Base {} class Foo extends Base { someMethod() {}...
@kaleb . Yes, we have a special type called `$Immutable` which creates immutable arrays. And with the immutable array, this case will work exactly as @trusktr described. We currently have...
Oh, it's a complicated question. Because test262 test the latest syntax of ECMAScript specification, and Hegel supports the same syntax as babel, the valid syntax evidence of valid program. A...
I think the answer is "Yes". Because we can use some heuristics to understand how developers use the value (as Array or as a tuple). So, I will try to...
Oh, cool. Sounds good. Thank you a lot for the idea :3
Oh, will fix it soon. Thank you for the issue :3
But the problem exists in the type inference algorithm. Will try to fix it.
Fixed. And will be available in the next release. Thank you for the issue :3
It will be fixed in the next release. Thank you for the issue. You are awesome :3