Merge pull request #21777 from chriskrycho/patch-1

ember-data: add an overload for `pushPayload`.
This commit is contained in:
Armando Aguirre
2017-11-27 16:09:13 -08:00
committed by GitHub

View File

@@ -993,6 +993,7 @@ declare namespace DS {
* Push some raw data into the store.
*/
pushPayload(modelName: string, inputPayload: {}): any;
pushPayload(inputPayload: {}): any;
/**
* `normalize` converts a json payload into the normalized form that
* [push](#method_push) expects.