I am trying to use promises with Firebase in Typescript using this definition file: https://www.nuget.org/packages/firebase.TypeScript.DefinitelyTyped/
But I get this error when trying to use promises: Supplied parameters do not match any signature of call target.I assume this is because definition files do not support promises right? I'm just starting to get Typescript to know if anyone can tell me how can I modify the definition file to support promises?
source
share