Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 215 Bytes

README-DEV-FAQ.md

File metadata and controls

5 lines (4 loc) · 215 Bytes

FAQ re development of Sneat.app

Enum vs Union types

Enums are more structured and easier to use in TS code, but are not easy to use in templates. This where EnumAsUnionOfKeys<typeof SomeEnum> comes to help.