Using TypeScript in a Sails App
Sails supports using TypeScript to write your custom app code (like actions and models). You can enable this support in three steps:
npm install typescript-require in your app folder.
- Add the following line at the top of your app's
- Start your app with
node app.js instead of