Conversation

In TypeScript: interface Ref<T> { value:T } type Ref<T> = { value:T } I… do not like this asymmetry.
7
17
Generally I like 'equals style' for structurally typed things, like type aliases, and the 'command style' for generative things, like making new classes, structs, tagged unions etc. Are interfaces generative in TS, or structural?
1