mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #55069 Add missing 'fbAsyncInit' to facebook-js-sdk types by @horochx
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
window.fbAsyncInit = function() {
|
||||
};
|
||||
|
||||
FB.init({
|
||||
version: 'v8.0',
|
||||
});
|
||||
|
||||
2
types/facebook-js-sdk/index.d.ts
vendored
2
types/facebook-js-sdk/index.d.ts
vendored
@@ -7,6 +7,8 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
declare function fbAsyncInit(): void;
|
||||
|
||||
import fb = facebook;
|
||||
declare var FB: fb.FacebookStatic;
|
||||
declare namespace facebook {
|
||||
|
||||
Reference in New Issue
Block a user