Closed
Description
Code
const dateA = new Date()
const dateB = new Date()
if (dateA === dateB) {
console.log('Can I haz warning?')
}
Expected behavior:
TypeScript compiler prints a warning because comparing if dateA and dateB are the same Date object is probably not what I want to do.
Actual behavior:
Nothing happens.