From 8617cbac9c3e11bcd0ce233bbca9a5d2220a9474 Mon Sep 17 00:00:00 2001 From: Thomas Gossmann Date: Mon, 26 Feb 2018 20:52:58 +0100 Subject: [PATCH] Make options hash optional on `DS.Model.destroyRecord()` (#23820) --- types/ember-data/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/ember-data/index.d.ts b/types/ember-data/index.d.ts index f0bb87a00d..7b78770489 100644 --- a/types/ember-data/index.d.ts +++ b/types/ember-data/index.d.ts @@ -491,7 +491,7 @@ declare module 'ember-data' { /** * Same as `deleteRecord`, but saves the record immediately. */ - destroyRecord(options: {}): RSVP.Promise; + destroyRecord(options?: {}): RSVP.Promise; /** * Unloads the record from the store. This will cause the record to be destroyed and freed up for garbage collection. */