Relative Content

Tag Archive for javascripttypescriptfacebook

How to use or forbid async functions for Facebook web SDK

Recently I’ve switched an app from compiling async functions to just letting them use the normal async syntax… but I’ve started to get Expression is of type asyncfunction, not function from FB. sdk functions, for example, calling FB.login(async () => {}) will throw that exception… So I’m wondering if its possible to either