Open
Description
Is your feature request related to a problem? Please describe.
It would be great to use TS as much as possible in the project, right now we are using env.js
file because we import it in next.config.js
Newer versions of Next.js seem to support ESM in next.config.ts
file.
Describe the solution you'd like to see
I suggest migrating from next.config.js
to next.config.ts
and to be able to convert env.js
to env.ts
as well.
Describe alternate solutions
The alternative is to continue using JS files with TS definitions in comments, but I don't think this is the cleaner approach.
Additional information
No response