Skip to content

Commit 4642039

Browse files
Chase Coalwelltrivikr
authored andcommitted
feat: make generic types optional (#461)
1 parent 2ad5796 commit 4642039

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

clients/client-rds-data/commands/ExecuteStatementCommand.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ import {
2121
} from "../RdsDataServiceClient";
2222

2323
export class ExecuteStatementCommand extends Command<
24-
ServiceInputTypes,
2524
ExecuteStatementRequest,
26-
ServiceOutputTypes,
2725
ExecuteStatementResponse,
2826
RdsDataServiceResolvedConfig
2927
> {

packages/smithy-client/src/command.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { MiddlewareStack } from "@aws-sdk/middleware-stack";
22
import { Command as ICommand, MetadataBearer, Handler } from "@aws-sdk/types";
33

44
export abstract class Command<
5-
ClientInput extends object,
65
Input extends ClientInput,
7-
ClientOutput extends MetadataBearer,
86
Output extends ClientOutput,
9-
ResolvedClientConfiguration
7+
ResolvedClientConfiguration,
8+
ClientInput extends object = any,
9+
ClientOutput extends MetadataBearer = any
1010
>
1111
implements
1212
ICommand<

0 commit comments

Comments
 (0)