docs(firebase-dynamic-links): Change example (#2646)

* docs(firebase-dynamic-links): Change example

* Update index.ts
This commit is contained in:
Niklas Merz 2018-08-16 21:55:59 +02:00 committed by Daniel Sogl
parent 2ac52822b8
commit 61fecf511b

View File

@ -38,10 +38,9 @@ export interface IDynamicLink {
* constructor(private firebaseDynamicLinks: FirebaseDynamicLinks) { }
*
* ...
*
* // Handle the logic here after opening the app with the Dynamic link
* this.firebaseDynamicLinks.onDynamicLink()
* .then((res: any) => console.log(res)) //Handle the logic here after opening the app with the Dynamic link
* .catch((error:any) => console.log(error));
* .subscribe((res: any) => console.log(res), (error:any) => console.log(error));
* ```
*
* @interfaces