Bundled output for commit 3dcf7bcd67

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot 2021-12-26 06:29:40 +00:00
parent 3dcf7bcd67
commit f63a40e313
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ export default class Store {
* within the 'data' key of the payload.
*/
pushPayload<M extends Model>(payload: ApiPayloadSingle): ApiResponseSingle<M>;
pushPayload<Ms extends Model[]>(payload: ApiPayloadPlural): ApiResponseSingle<Ms[number]>;
pushPayload<Ms extends Model[]>(payload: ApiPayloadPlural): ApiResponsePlural<Ms[number]>;
/**
* Create a model to represent a resource object (or update an existing one),
* and push it into the store.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long