But that’s not what TypeScript does. The joke in the meme doesn’t really even make sense.
A better analogy would be you have a basket that’s explicitly labeled “Fruit” and TypeScript complains if you try to put laundry detergent in it because you said it’s supposed to be a basket of fruit.
This meme was clearly made by someone who doesn’t use or understand TypeScript.
But that’s not what TypeScript does. The joke in the meme doesn’t really even make sense.
A better analogy would be you have a basket that’s explicitly labeled “Fruit” and TypeScript complains if you try to put laundry detergent in it because you said it’s supposed to be a basket of fruit.
This meme was clearly made by someone who doesn’t use or understand TypeScript.
Yeah most likely.