Hacker News new | ask | show | jobs
by jbreckmckye 1576 days ago
> It does not make code any harder to understand or to write,

Well, what can you tell me about TypeScript type inference for this custom DSL?

2 comments

I wouldn't call <For> in Solid a custom DSL anymore than any given React component. And Solid looks to have good TS support.

https://www.solidjs.com/docs/latest/api#%3Cfor%3E

Have you used Vue 3? There is fantastic TypeScript support in templates, including comprehensive intellisense for the templates in VS Code with the Volar extension. Surprisingly, _refreshingly,_ good.