Skip to content

Commit

Permalink
style(geoFirestore): TS Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Daan committed Dec 6, 2018
1 parent b6fbf98 commit d4ed971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/geofirestore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class GeoFirestore {
public set (keyOrDocuments: string | any, document?: any, customKey?: string): Promise<any> {
return this.write('set', keyOrDocuments, document, customKey);
}
/**
/**
* Updates the provided key - location pair(s) to Firestore. Returns an empty promise which is fulfilled when the write is complete.
*
* If any provided key already exists in this GeoFirestore, it will be overwritten with the new location value.
Expand Down
2 changes: 1 addition & 1 deletion test/geofirestore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ describe('GeoFirestore Tests:', () => {
coordinates: invalidLocation
});
}).to.throw(Error, /Invalid GeoFirestore document/);
})
});
});

it('update() updates/adds additional fields in documents', (done) => {
Expand Down

0 comments on commit d4ed971

Please sign in to comment.