-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with-typescript-eslint-jest creates pages/api/hello.tsx #16906
Comments
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 |
Perhaps this could be tagged as |
Hi, can i take this one? :) |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
with-typescript-eslint-jest
createspages/api/hello.tsx
instead ofpages/api/hello.ts
To Reproduce
page/api/
hashello.tsx
instead ofhello.ts
Expected behavior
Expected a
.ts
file and not a.tsx
file for API.Screenshots
N/A
System information
Additional context
This is easy for me to fix. For new or less experienced users this might be confusing and misleading.
The text was updated successfully, but these errors were encountered: