File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1250,7 +1250,7 @@ class ParseObject<T extends Attributes = Attributes> {
1250
1250
* @returns {Promise } A promise that is fulfilled when the fetch
1251
1251
* completes.
1252
1252
*/
1253
- fetch ( options : FetchOptions ) : Promise < this> {
1253
+ fetch ( options ? : FetchOptions ) : Promise < this> {
1254
1254
const fetchOptions = ParseObject . _getRequestOptions ( options ) ;
1255
1255
const controller = CoreManager . getObjectController ( ) ;
1256
1256
return controller . fetch ( this , true , fetchOptions ) as Promise < this> ;
Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ declare class ParseObject<T extends Attributes = Attributes> {
448
448
* @returns {Promise } A promise that is fulfilled when the fetch
449
449
* completes.
450
450
*/
451
- fetch ( options : FetchOptions ) : Promise < this> ;
451
+ fetch ( options ? : FetchOptions ) : Promise < this> ;
452
452
/**
453
453
* Fetch the model from the server. If the server's representation of the
454
454
* model differs from its current attributes, they will be overriden.
You can’t perform that action at this time.
0 commit comments