Y
Hacker News
new
|
ask
|
show
|
jobs
by
TomMarius
3034 days ago
Yes, Typescript will tell you that it's of type A, but that's not what happens at runtime - that's what I wanted to say. During runtime it's a plain object that has the aforementioned signature.