Kirk Waiblinger

Results 103 comments of Kirk Waiblinger

I'm a little confused because it appears that TS does give an error in the "Fail" case, for all the version and configs that I tried at least. For example,...

I think this may have been fixed. When I click on the playground link, I do see an error as described in the Expected Result.

Looking a little deeper, it looks like the test case in the issue is checked because in a scenario like ```ts declare const f: (...args: Array void>); declare argsList: Array...

Fixed in v8 branch in https://github.com/typescript-eslint/typescript-eslint/pull/9234

Having a rule to prohibit totally unused Disposable objects in return values seems like a great idea to me, +1 😄 . One of the codebases I work in a...

Hi @bgschiller! That looks like a case of https://github.com/typescript-eslint/typescript-eslint/issues/7889, not this issue. That issue has been fixed, and [your example currently flags in the playground](https://typescript-eslint.io/play/#ts=5.4.3&fileType=.tsx&code=CYUwxgNghgTiAEAzArgOzAFwJYHtXwHMQMARLAZwAcdyoAjCEACgEoAueMqm%2Bx%2BAMngBveJRg5KIGBgCeHchhhZUBeAF8A3AChQkWAhTpseQsQCC5Gei7VaDZu3gWrYGz3sDho8ZOlz4Ckoq6tpahpi4%2BOSMIJRMALbkHKjI8XRSLF5wGMgw%2BKggAO7wAAri8RTMcOQ4EABuCAC8AHwBxAAqWPEgOMgYTNW1DQA08IksmWpaWlCW6EhoESbAOADqODAA1qzCWvDwyOTKqgAe8I2mpBS2vA578FCFUFgYB0fBMueXztbX7oyse7ZXJRGJxABMAAZISx7vsAHQYAAWIFQTB2LXgYDwNUY8IgOAITAA5GcANTwT4UYmjE7wsQSKSyeAUmT0nxMmQTLRqeAAej58EAvBuAUp34GcoKhgJT4IUpAhgH9yCBpelEBsEMiENjULiQPjCQEMFAMCBuqgMEA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6aRfWaJ2gQwDufSvnRQhPSODABfEDKA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false), and gives the exact suggestion...

Question - can the behavior be that returning the runtime value of `z.NEVER`, without any other issues being added, be treated the same as if the following issue had been...

Having thought more thoroughly about this, I am +1 to the request as well. Passed in handlers will never have _implicitly_ `any` parameters, which is the real problem with supplying...

No longer blocked! Will rebase and open for review within a few days