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

Prevent pattern matching of unions of untagged inexact object types #332

Open kevinbarabash opened 2 months ago

kevinbarabash commented 2 months ago

It's okay to have tagged unions of inexact object types since we know which variant it is based on the tag.