From 99ddbe3b158dfb2e1ff206f320fabb1e1cb91caf Mon Sep 17 00:00:00 2001 From: Tim Lancina Date: Thu, 10 Mar 2016 19:29:25 -0600 Subject: [PATCH] Update DEVELOPER.md --- DEVELOPER.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEVELOPER.md b/DEVELOPER.md index b96e5ad91..84170d432 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -64,7 +64,7 @@ Let's take a look at `getCurrentPosition` first. ``` @Cordova() - static getCurrentPosition(options: GeolocationOptions): Promise { return } + static getCurrentPosition(options?: GeolocationOptions): Promise { return } ``` It's just a stub. The `return` is only there to keep the TypeScript type-checker from complaining since we indicate the `getCurrentPosition` returns a `Promise`. @@ -81,7 +81,7 @@ Next, let's look at the `watchPosition` method. observable: true, clearFunction: 'clearWatch' }) - static watchPosition(options: GeolocationOptions): Observable { return } + static watchPosition(options?: GeolocationOptions): Observable { return } ``` The `@Cordova` decorator has a few more options now.