escalier-lang / escalier-next

Improved type safety with tight TypeScript interop
https://escalier-lang.github.io/escalier-next/
MIT License
14 stars 0 forks source link

Partially infer objects and tuples/arrays #219

Open kevinbarabash opened 7 months ago

kevinbarabash commented 7 months ago

Right now we create a single type variable placeholder for these things, but we could infer their structure at least similar to what we do for function declarations. This would allow us to refer to an object properties or a tuples elements before the object/tuple has been fully inferred.