I thought type was supposed to be a function.
type Point = {x: number, y: number}
The usage of type here doesn’t make sense to me.
I thought type was supposed to be a function.
type Point = {x: number, y: number}
The usage of type here doesn’t make sense to me.