A complete guide to TypeScript’s 'never' type
1–10 of 64 posts
Re: A complete guide to TypeScript’s 'never' type
#2Re: A complete guide to TypeScript’s 'never' type
#3Re: A complete guide to TypeScript’s 'never' type
#4That’s not a pun that’s just poor grammar. “never type can never (pun-intended) have any value” makes sense.
Re: A complete guide to TypeScript’s 'never' type
#5Re: A complete guide to TypeScript’s 'never' type
#6> Since there’s no values in the set, never type can’t never (pun-intended) have any value That’s not a pun that’s just poor grammar. “never type can never (pun-intended) have any value” makes sense.
Re: A complete guide to TypeScript’s 'never' type
#7> Since there’s no values in the set, never type can’t never (pun-intended) have any value That’s not a pun that’s just poor grammar. “never type can never (pun-intended) have any value” makes sense.
I have seen such double negative at many places, to represent strong negative. Don't know if it is some trend!
https://www.russiantutoring.com/post/double-negation-in-russ...
Re: A complete guide to TypeScript’s 'never' type
#8Re: A complete guide to TypeScript’s 'never' type
#9if you want to know what it’s called in other languages (for some reason it doesn’t mention `Void` for Haskell though)
Re: A complete guide to TypeScript’s 'never' type
#10Earlier quoted context omitted.
I have seen such double negative at many places, to represent strong negative. Don't know if it is some trend!
Funnily enough, in Russian the double negative is completely normal and that is a normal way to express many negatives. It always triggers my brain when I have to say a double negative in Russian, "just do it, it's completely normal, don't worry about it..." (inner feeling-based monologue). https://www.russiantutoring.com/post/double-negation-in-russ...
A professor is lecturing on linguistics: "In English a double negative has a positive meaning. However, in some languages—such as Russian—a double negative still has a negative meaning. There isn't, however, a language in which a double positive holds a negative meaning."
A student in the back responds: "Yeah, right."