Skip to content

Commit 9cdf8e2

Browse files
Chase Coalwellsrchase
authored andcommitted
feat: make generic types optional (#461)
1 parent 3e88913 commit 9cdf8e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)