File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -404,23 +404,23 @@ class ParseSchema {
404
404
/**
405
405
* Deleting a Field to Update on a Schema
406
406
*
407
- * @param {String } name Name of the field that will be created on Parse
408
- * @param {String } targetClass Name of the target Pointer Class
407
+ * @param {String } name Name of the field
409
408
* @return {Parse.Schema } Returns the schema, so you can chain this call.
410
409
*/
411
410
deleteField ( name : string ) {
412
411
this . _fields [ name ] = { __op : 'Delete' } ;
412
+ return this ;
413
413
}
414
414
415
415
/**
416
416
* Deleting an Index to Update on a Schema
417
417
*
418
- * @param {String } name Name of the field that will be created on Parse
419
- * @param {String } targetClass Name of the target Pointer Class
418
+ * @param {String } name Name of the field
420
419
* @return {Parse.Schema } Returns the schema, so you can chain this call.
421
420
*/
422
421
deleteIndex ( name : string ) {
423
422
this . _indexes [ name ] = { __op : 'Delete' } ;
423
+ return this ;
424
424
}
425
425
}
426
426
You can’t perform that action at this time.
0 commit comments