Is there a TypeScript interface definition for the

2020-07-13 23:42发布

问题:

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.