在 Sails 中使用 TypeScript [英] Using TypeScript with Sails

查看:44
本文介绍了在 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.

这篇关于在 Sails 中使用 TypeScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆