Naman Goel

Results 405 comments of Naman Goel

@trusktr No, I'm not using famo.us for what I'm working on. Rather I'm trying to just take some lessons from Famo.us (flat-DOM, transforms) and bring it to React. What I'm...

So looking at the original Issue and the responses a think there has been some confusion. ## Support for Structural Union Types @nmsmith is asking for Structural Union Types *instead...

> I believe that if you're using a structural union type in the same manner that you'd be using an enum, you can compile it in exactly the same way...

@nmsmith I know what you argued. I had written a full reply why that wouldn't be feasible but it got long so I decided against it. You've generally already mentioned...

`roc` does have anonymous union types that work in a very interesting way. > List[A | B | C] is a more general type than List[A | B]. Thus, the...

I would love something like this to be supported: ``` React.createClass({ DOMEvents: { BetterClick: MyEventOverloads.BetterOnClick, EvenBetterClick: MyEventOverloads.EvenBetterOnClick }, render: function() { return ( ); } }); ``` This would also...

The `const` is needed. Without it, the types aren't specific enough. Please share an example of the issue you're seeing.

`const` can be used within generics for functions and classes, but not type aliases. This feels like an IntelliJ bug. This all works in VS Code. Leaving the issue open...

You're most likely using an old version of Typescript. As you can see on the `nextjs` example in the repo itself, there are no typescript errors. Can you both verify...