uhyo

Results 57 comments of uhyo

Thanks for the good news! :tada: I'll check.

Thank you! For now, some of usecases (like running prettier against generated files) might be workarounded by using the new [--output-format json](https://nitrogql.vercel.app/cli#:~:text=the%20configuration%20file.-,%2D%2Doutput%2Dformat,-Specify%20the%20output) CLI option and some shell script magic.

Hello, thank you for your interest! While you can check [the diffs](https://github.com/uhyo/better-typescript-lib/blob/master/docs/diff.md) to grasp the changes made to TypeScript's built-in type definitions, it is definitely good to have more concrete...

A fix has been released as `v2.8.0`. Thank you for reporting!

It might be worth pointing out that any userland definition won't be forwards compatible if a new primitive ever gets added to the language. 😶‍🌫️

> How so? Isn't the workaround in the OP forward compatible? That workaround requires runtime code (`typeof a`). This means that a pure type-level implementation (`type TypeOfResult = ...`) is...

Hi, it is likely that you need to specify `project: true` in your typescript-eslint setup. This page should help. https://typescript-eslint.io/linting/typed-linting Current error message isn't very friendly anyway. There's room for...

@MichalGorskiOnegini Hey, did this solve your issue?

Thanks for the feedback! I know this is inconvenient, but I had to make this change for safety. See below example to know what was bad with the previous behavior....

Thank you for the bug report! I think I want to fix the behavior, but I need to look into it to know whether it is fixable.