Tsotne Nazarashvili

Results 75 comments of Tsotne Nazarashvili

@Yamboy1 your repo is private or does not exist at all...

this is how you do it https://github.com/JSMonk/hegel/blob/master/packages/cli/.hegelrc#L7-L9

@amatiasq not true "Existential Type" is completely different feature `as const` is hint for inference system to match type to value as close as possible so `"Filtering"` is `"Filtering"` not...

@amatiasq this issue touches on same use case as `as const` but it's more complex feature then `as const` so i think it's ok to create different issue for `as...

we can just add `@babel/plugin-transform-react-jsx` plugin and most of jsx will work without much effort also type system will have same behaviour on jsx and `React.createElement` code

@ryansolid if we make plugins used by hegel configurable we can support any number of frameworks/libraries for example with `babel-plugin-jsx-dom-expressions` we can support DOM Expressions like so

@trusktr hegel is using babel parser and babel AST so babel plugins can be used as well

@leunam217 immutability should be part of type system and should not leak artifacts to production code you have introduced wrapper class but it is only used for type checking

this works ```ts function clone(arr: Array): Array { return Array.from(arr) } let cloned = clone([1, 2, 3]) ``` [try](https://hegel.js.org/try#GYVwdgxgLglg9mABBANggpgHgCoD4AUAhgE7EBciAgqYQJ464CUF1xdDiA3gFCJ+LF0UEMSSs6AOmDE4AWyKlG3AL7duKIcjRh0AE0QBeLRnwBtAIwAaRACZrAZgC6SoA) but i don't think you can copy tuples for now also...

```ts // Could not deduce type "(ArrayLike | Iterable) => Array" arising from the arguments unknown,(ArrayLike | Iterable) => Array. // Please, provide type parameters for the call or provide...