is Untyped
necessary?
#417
DetachHead
started this conversation in
Polls
Replies: 1 comment
-
One of the main advantages of There is also a good usecase for denoting incomplete stubs We should do some user testing on this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Untyped
is just a type alias forAny
. it has the exact same functionality and the only difference is the wording of the error messages.imo this adds unnessecary confusion to users who see these two different types. i think most people would assume they have different functionality.
users already have to understand the difference between
object
andAny
, i dont think theres much of a benefit to adding a third one if the only difference is error message wording.although you could argue that they have slightly different usages, the same can also be said to argue for a type alias of
bool
to differentiate between bools that mean "enabled/disabled" and bools that mean "yes/no"3 votes ·
Beta Was this translation helpful? Give feedback.
All reactions