Is there a TypeScript interface definition for the Facebook JavaScript SDK

Deadly 提交于 2019-12-21 17:18:17

问题


The TypeScript package contains interface definitions for Node.js and jQuery. I was wondering if somebody has already wrote definitions for Facebook JavaScript SDK.


回答1:


You can get it with tsd by typing tsd install fbsdk --save. Here it is in Definitely Typed: https://github.com/borisyankov/DefinitelyTyped/blob/master/fbsdk/fbsdk.d.ts

(From this answer)




回答2:


No, not officially produced or supported. But if the community creates one, we would be happy to link to & promote as required.



来源:https://stackoverflow.com/questions/12722039/is-there-a-typescript-interface-definition-for-the-facebook-javascript-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!