with-typescript-eslint-jest creates pages/api/hello.tsx instead of pages/api/hello.ts
page/api/ has hello.tsx instead of hello.tsExpected a .ts file and not a .tsx file for API.
N/A
This is easy for me to fix. For new or less experienced users this might be confusing and misleading.
Both are fine really, but feel free to send a PR.
I agree that both will work. I think that the extension, in this context, conveys intent.
I would expect .tsx to render and have React markup and .ts not to have it.
Perhaps this could be tagged as good-first-issue?
Hi, can i take this one? :)
Most helpful comment
Hi, can i take this one? :)