@@ -69,7 +69,9 @@ interface AwsSdkJestMockBaseMatchers<R> extends Record<string, Function> {
69
69
toHaveReceivedCommandWith < TCmdInput extends object ,
70
70
TCmdOutput extends MetadataBearer > (
71
71
command : new ( input : TCmdInput ) => AwsCommand < TCmdInput , TCmdOutput > ,
72
- input : Partial < TCmdInput > ,
72
+ input : {
73
+ [ Property in keyof TCmdInput ] : unknown ;
74
+ } ,
73
75
) : R ;
74
76
75
77
/**
@@ -95,7 +97,9 @@ interface AwsSdkJestMockBaseMatchers<R> extends Record<string, Function> {
95
97
TCmdOutput extends MetadataBearer > (
96
98
call : number ,
97
99
command : new ( input : TCmdInput ) => AwsCommand < TCmdInput , TCmdOutput > ,
98
- input : Partial < TCmdInput > ,
100
+ input : {
101
+ [ Property in keyof TCmdInput ] : unknown ;
102
+ } ,
99
103
) : R ;
100
104
101
105
/**
@@ -120,7 +124,9 @@ interface AwsSdkJestMockBaseMatchers<R> extends Record<string, Function> {
120
124
toHaveReceivedNthSpecificCommandWith < TCmdInput extends object , TCmdOutput extends MetadataBearer > (
121
125
call : number ,
122
126
command : new ( input : TCmdInput ) => AwsCommand < TCmdInput , TCmdOutput > ,
123
- input : Partial < TCmdInput > ,
127
+ input : {
128
+ [ Property in keyof TCmdInput ] : unknown ;
129
+ } ,
124
130
) : R ;
125
131
126
132
/**
@@ -153,7 +159,9 @@ interface AwsSdkJestMockAliasMatchers<R> extends Record<string, Function> {
153
159
toReceiveCommandWith < TCmdInput extends object ,
154
160
TCmdOutput extends MetadataBearer > (
155
161
command : new ( input : TCmdInput ) => AwsCommand < TCmdInput , TCmdOutput > ,
156
- input : Partial < TCmdInput > ,
162
+ input : {
163
+ [ Property in keyof TCmdInput ] : unknown ;
164
+ } ,
157
165
) : R ;
158
166
159
167
/**
@@ -163,7 +171,9 @@ interface AwsSdkJestMockAliasMatchers<R> extends Record<string, Function> {
163
171
TCmdOutput extends MetadataBearer > (
164
172
call : number ,
165
173
command : new ( input : TCmdInput ) => AwsCommand < TCmdInput , TCmdOutput > ,
166
- input : Partial < TCmdInput > ,
174
+ input : {
175
+ [ Property in keyof TCmdInput ] : unknown ;
176
+ } ,
167
177
) : R ;
168
178
169
179
/**
@@ -172,7 +182,9 @@ interface AwsSdkJestMockAliasMatchers<R> extends Record<string, Function> {
172
182
toReceiveNthSpecificCommandWith < TCmdInput extends object , TCmdOutput extends MetadataBearer > (
173
183
call : number ,
174
184
command : new ( input : TCmdInput ) => AwsCommand < TCmdInput , TCmdOutput > ,
175
- input : Partial < TCmdInput > ,
185
+ input : {
186
+ [ Property in keyof TCmdInput ] : unknown ;
187
+ } ,
176
188
) : R ;
177
189
178
190
/**
0 commit comments