6 ms·
You don't even need the symbol. If you want the simplest thing that will work: type Velocity = number & { BRAND: "Velocity" } type Distance = number &
by maskros 2y ago
You don't even need the symbol. If you want the simplest thing that will work:
type Velocity = number & { BRAND: "Velocity" }
type Distance = number & { BRAND: "Distance" }
var x = 100 as Distance