mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 14:38:20 +08:00
Merge pull request #21777 from chriskrycho/patch-1
ember-data: add an overload for `pushPayload`.
This commit is contained in:
1
types/ember-data/index.d.ts
vendored
1
types/ember-data/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user