Re:All I Want for Christmas Is These Seven TypeScript Improv...
by Waterluvian on Monday December 26, 2022 @01:19PM
(#34140232)
Oh. You’re right. The moment you turn that flag on, it can’t complain the away implicitAny can. Therefore you need “pure” rather than “impure.”
If pure functions were explicitly marked as "pure" the compiler could just conservatively assume all other functions were impure. But the opposite does not work.