Typescript Firebase definition file, Promises -
i trying use promises firebase in typescript using definition file: https://www.nuget.org/packages/firebase.typescript.definitelytyped/ getting error trying use promises: supplied parameters not match signature of call target.
guess because definition files not support promises right ? starting getting typescript know, can tell me how can change definition file support promises ?
at time of writing this, definition file firebase has supported promise: firebase.d.ts
however, still need either install es6-promise package, or configure tsc es6. more detail can found @ other question: how use typescript native es6 promises
Comments
Post a Comment