Skip to content

Commit 89c558d

Browse files
committed
Fix arg name
1 parent 27a6c6f commit 89c558d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/legacy-compat/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export function normalize(this: Store, modelName: string, payload: ObjectValue)
257257
// TODO @runspired @deprecate pushPayload in favor of looking up the serializer
258258
export function pushPayload(this: Store, inputPayload: ObjectValue): void;
259259
export function pushPayload(this: Store, modelName: string, inputPayload: ObjectValue): void;
260-
export function pushPayload(this: Store, modelNameOrPayload: string | ObjectValue, inputPayload?: ObjectValue): void {
260+
export function pushPayload(this: Store, modelName: string | ObjectValue, inputPayload?: ObjectValue): void {
261261
upgradeStore(this);
262262
assert(
263263
`Attempted to call store.pushPayload(), but the store instance has already been destroyed.`,

0 commit comments

Comments
 (0)