File tree 3 files changed +4
-4
lines changed
client-lex-runtime-v2/src/protocols
client-transcribe-streaming/src/protocols
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -869,7 +869,7 @@ export const deserializeAws_restJson1StartConversationCommand = async (
869
869
const eventHeaders = Object . entries ( event [ eventName ] . headers ) . reduce ( ( accummulator , curr ) => {
870
870
accummulator [ curr [ 0 ] ] = curr [ 1 ] . value ;
871
871
return accummulator ;
872
- } , { } as { [ key : string ] : any } ) ;
872
+ } , { } as Record < string , any > ) ;
873
873
const eventMessage = {
874
874
headers : eventHeaders ,
875
875
body : event [ eventName ] . body ,
Original file line number Diff line number Diff line change @@ -9648,7 +9648,7 @@ export const deserializeAws_restXmlSelectObjectContentCommand = async (
9648
9648
const eventHeaders = Object.entries(event[eventName].headers).reduce((accummulator, curr) => {
9649
9649
accummulator[curr[0]] = curr[1].value;
9650
9650
return accummulator;
9651
- }, {} as { [key: string]: any } );
9651
+ }, {} as Record< string, any> );
9652
9652
const eventMessage = {
9653
9653
headers: eventHeaders,
9654
9654
body: event[eventName].body,
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ export const deserializeAws_restJson1StartMedicalStreamTranscriptionCommand = as
247
247
const eventHeaders = Object . entries ( event [ eventName ] . headers ) . reduce ( ( accummulator , curr ) => {
248
248
accummulator [ curr [ 0 ] ] = curr [ 1 ] . value ;
249
249
return accummulator ;
250
- } , { } as { [ key : string ] : any } ) ;
250
+ } , { } as Record < string , any > ) ;
251
251
const eventMessage = {
252
252
headers : eventHeaders ,
253
253
body : event [ eventName ] . body ,
@@ -407,7 +407,7 @@ export const deserializeAws_restJson1StartStreamTranscriptionCommand = async (
407
407
const eventHeaders = Object . entries ( event [ eventName ] . headers ) . reduce ( ( accummulator , curr ) => {
408
408
accummulator [ curr [ 0 ] ] = curr [ 1 ] . value ;
409
409
return accummulator ;
410
- } , { } as { [ key : string ] : any } ) ;
410
+ } , { } as Record < string , any > ) ;
411
411
const eventMessage = {
412
412
headers : eventHeaders ,
413
413
body : event [ eventName ] . body ,
You can’t perform that action at this time.
0 commit comments