Skip to content

Commit 86ea167

Browse files
fixed commentss
1 parent b81d7f3 commit 86ea167

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/ParseOffline.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export class ParseOffline {
1515
* Nowadays, localStorage is widely supported
1616
* https://caniuse.com/#search=localStorage
1717
*
18-
* @param query
19-
* @param localStorageKey
18+
* @param params
2019
*/
2120
static async saveResultsToLocalStorage(params:{
2221
query: Parse.Query,
@@ -44,7 +43,7 @@ export class ParseOffline {
4443

4544
/**
4645
* Given a query, gets the results
47-
* @param query
46+
* @param params
4847
*/
4948
static getResultsFromTheLocalStorage(params: {
5049
className: string,
@@ -70,7 +69,7 @@ export class ParseOffline {
7069
/**
7170
* Returns the key to be used for saving the results
7271
* of a given query to the localStorage
73-
* @param query
72+
* @param className
7473
*/
7574
static getLocalStorageKeyForClassName(className: string): string {
7675
return `_cache_${className}`;
@@ -94,7 +93,7 @@ export class ParseOffline {
9493
* to give you back the results that were cached
9594
* in the localStorage
9695
*
97-
* @param query
96+
* @param params
9897
*/
9998
static async findWithFallbackAndCache(params: {
10099
query: Parse.Query,

0 commit comments

Comments
 (0)