Skip to content

Commit 8bba2ee

Browse files
committed
Replace parameters.items with parameter(0)
1 parent d98757f commit 8bba2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/tests/createAsyncThunk.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ describe('type tests', () => {
351351
test('one argument, specified as any: asyncThunk has required any argument', () => {
352352
const asyncThunk = createAsyncThunk('test', (arg: any) => 0)
353353

354-
expectTypeOf(asyncThunk).parameters.items.toBeAny()
354+
expectTypeOf(asyncThunk).parameter(0).toBeAny()
355355

356356
expectTypeOf(asyncThunk).toBeCallableWith(5)
357357

0 commit comments

Comments
 (0)