🤖 Merge PR #55069 Add missing 'fbAsyncInit' to facebook-js-sdk types by @horochx

This commit is contained in:
horochx
2021-09-01 09:35:38 +08:00
committed by GitHub
parent b570beca52
commit d5ef8a6822
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
window.fbAsyncInit = function() {
};
FB.init({
version: 'v8.0',
});

View File

@@ -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 {