Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a TypeScript interface definition for the Facebook JavaScript SDK

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

like image 218
buskila Avatar asked Nov 13 '22 21:11

buskila


1 Answers

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)

like image 135
tremby Avatar answered Jan 04 '23 02:01

tremby