How to use function from typescript file in custom server.js
#24863
Answered
by
bobarros
shahidcodes
asked this question in
Help
-
Beta Was this translation helpful? Give feedback.
Answered by
bobarros
May 6, 2021
Replies: 1 comment 3 replies
-
|
it's possible to convert server.js to server.ts or it's going to be too much trouble? Because if it is simple, it will work by just importing the function inside server.ts import express from 'express';
import function from 'otherfile'; |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
shahidcodes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

it's possible to convert server.js to server.ts or it's going to be too much trouble?
Because if it is simple, it will work by just importing the function inside server.ts