You could rig something up in probably 2-3 days if that was super important for you.
I did manual typing at the edges and that sufficed for me.
You could rig something up in probably 2-3 days if that was super important for you.
I did manual typing at the edges and that sufficed for me.
Having to call tsc separately from my dev/watch process is not a good developer experience. Same as with ... dialyzer :)
But for sure, that would decimate esbuild performances.
My comment on value is mainly one of "all or nothing". I think a manual typing at the edge is probably sufficient for most people.
That said, you could implement all of your forms and events as structs or schemas and rig up a piece of the dev process to convert them into types. I think many in Elixir would view it as overkill so it hasn't been done afaik. But I also think it could be implemented very easily and then you'd have end to end typing.