Skip to content

Commit 447c11a

Browse files
authored
Merge pull request #618 from markrickert/fix-typo-in-docs
Fixes a typo in docs.
2 parents eebc529 + 34f3fc3 commit 447c11a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/interfaces/_react_native_background_geolocation_.geofence.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h2 id="removing-geofences">Removing Geofences</h2>
154154
</ul>
155155
</dd>
156156
<dt class="tsd-comment-tag-example">example</dt>
157-
<dd><pre><code class="language-typescript">BackgroundGeolocaion.removeGeofence(<span class="hljs-string">'HOME'</span>).then(<span class="hljs-function"><span class="hljs-params">success</span> =&gt;</span> {
157+
<dd><pre><code class="language-typescript">BackgroundGeolocation.removeGeofence(<span class="hljs-string">'HOME'</span>).then(<span class="hljs-function"><span class="hljs-params">success</span> =&gt;</span> {
158158
<span class="hljs-built_in">console</span>.log(<span class="hljs-string">'[removeGeofence] success'</span>);
159159
})</code></pre>
160160
<ul>

src/declarations/interfaces/Geofence.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ declare module "react-native-background-geolocation" {
117117
* - Removing a single geofence by [[identifier]] with [[removeGeofence]]:
118118
* @example
119119
* ```typescript
120-
* BackgroundGeolocaion.removeGeofence('HOME').then(success => {
120+
* BackgroundGeolocation.removeGeofence('HOME').then(success => {
121121
* console.log('[removeGeofence] success');
122122
* })
123123
* ```

0 commit comments

Comments
 (0)