Posts by Matheus Wallace • 73 points
1 post
-
7
votes1
answer118
viewsQ: How to adapt a function that only accepts callback to the promise interface in Javascript?
I’m using an external library function to acquire the token of a user, it is the following: export default function GetGraphToken( email: string, password: string, callback: (graphClient: Client,…