It has got to do with your imports, your IDE could have imported clearTimeout from timers.
Please check Nick Parsons shared link.