Does nextjs build typescript too with js files? #16963
-
I'm about to use custom server way and project has ts for server(db init too), js for browser(react) and run project with 'node server.js' |
Beta Was this translation helpful? Give feedback.
Answered by
jamesmosier
Sep 9, 2020
Replies: 1 comment
-
If you want to use a custom server with typescript then the custom-server-typescript example is a great place to look. You can then use regular JS for your browser (react) components if you'd like. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jamesmosier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to use a custom server with typescript then the custom-server-typescript example is a great place to look. You can then use regular JS for your browser (react) components if you'd like.