mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Make options hash optional on DS.Model.destroyRecord() (#23820)
This commit is contained in:
Vendored
+1
-1
@@ -491,7 +491,7 @@ declare module 'ember-data' {
|
||||
/**
|
||||
* Same as `deleteRecord`, but saves the record immediately.
|
||||
*/
|
||||
destroyRecord(options: {}): RSVP.Promise<any>;
|
||||
destroyRecord(options?: {}): RSVP.Promise<any>;
|
||||
/**
|
||||
* Unloads the record from the store. This will cause the record to be destroyed and freed up for garbage collection.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user