Make options hash optional on DS.Model.destroyRecord() (#23820)

This commit is contained in:
Thomas Gossmann
2018-02-26 11:52:58 -08:00
committed by Andy
parent d2afdde5ba
commit 8617cbac9c
+1 -1
View File
@@ -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.
*/