Using TypeScript with Sails

前端 未结 2 1712
無奈伤痛
無奈伤痛 2021-02-07 21:41

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

I am in the middle of a Sails application project and learned about TypeScri

2条回答
  •  你的背包
    2021-02-07 21:58

    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.

提交回复
热议问题