moizKachwala / Angular2-express-mongoose-gulp-node-typescript

AngularJS 2 (Updated to 4.2.0) Mean Stack application which uses Angular2, Gulp, Express, Node, MongoDB (Mongoose) with Repository Pattern Business Layer
MIT License
196 stars 86 forks source link

can we replace type script code with regular javascript in server side? #29

Closed injrav closed 7 years ago

injrav commented 7 years ago

very very good example. But I am not able to find the main reason of using typescript in server side Can we replace type script code with regular javascript in server module? if yes what changes we need to make?

moizKachwala commented 7 years ago

Typescript is the subset of javascript. So in background this is going to be converted to javascript.

The only point of writing in Typescript to leverage some of the great advantages of typescript like typings, dataTypes, compile time errors etc.