To create an Express server in TypeScript, follow these steps:
index.ts58 chars2 lines
tsconfig.json
file:index.ts200 chars11 lines
src
directory and add a server.ts
file inside it:index.ts196 chars12 lines
start
script to your package.json
file:index.ts82 chars4 lines
index.ts10 chars2 lines
Now you have an Express server running in TypeScript!
gistlibby LogSnag