在 Sails 中使用 TypeScript

问题描述:

有人在 Sails 中使用 TypeScript 吗?如果是这样,您使用什么进行外部声明?

Is anyone using TypeScript with Sails? If so, what are you using for external declarations?

我正在参与一个 Sails 应用程序项目,并了解了 TypeScript.我试图确定 TypeScript 是否是我应该为这个项目追求的东西.任何信息将不胜感激.谢谢.

I am in the middle of a Sails application project and learned about TypeScript. I am trying to determine if TypeScript is something I should pursue for this project. Any info will be appreciated. Thanks.

from : https://github.com/balderdashy/sails Sails 是用 node connect expresssocket.io 构建的.这意味着这些库的定义文件正是您所需要的.所有这些都可以从 Definitive TypeScript 定义存储库中获得:https://github.com/borisyankov/DefinitelyTyped.

from : https://github.com/balderdashy/sails Sails is built with node connect express and socket.io. This means that definition files for these libraries are what you need. All of these are available from the Definitive TypeScript definition repository : https://github.com/borisyankov/DefinitelyTyped.