Y
Hacker News
new
|
ask
|
show
|
jobs
by
12_throw_away
330 days ago
`type UserId = UUID` creates a TypeAlias, not the same thing (from a type checker's point of view) as a NewType [1].
[1]
https://typing.python.org/en/latest/spec/aliases.html