DEV Community

Discussion on: A Deep Dive into the satisfies operator in Typescript

Collapse
 
brense profile image
Rense Bakker

Debugging nightmares because of satisfies operator? Please elaborate? Satisfies allows you to use a narrower type, which is better for debugging last time I checked?

Collapse
 
fyodorio profile image
Fyodor

Yes, edge cases in obscure type inference is one of the major sources of time-eating debuggin in larger TS apps. For simple cases that's quite straightforward, of course, I agree with you here.