Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore(smithy-client): remove in-line import in types (#2531)
  • Loading branch information
AllanZhengYP committed Jul 2, 2021
1 parent 4d085af commit e98c52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/smithy-client/src/client.ts
@@ -1,5 +1,5 @@
import { constructStack } from "@aws-sdk/middleware-stack";
import { Client as IClient, Command, MetadataBearer, RequestHandler } from "@aws-sdk/types";
import { Client as IClient, Command, MetadataBearer, MiddlewareStack, RequestHandler } from "@aws-sdk/types";

export interface SmithyConfiguration<HandlerOptions> {
requestHandler: RequestHandler<any, any, HandlerOptions>;
Expand All @@ -20,7 +20,7 @@ export class Client<
ResolvedClientConfiguration extends SmithyResolvedConfiguration<HandlerOptions>
> implements IClient<ClientInput, ClientOutput, ResolvedClientConfiguration>
{
public middlewareStack = constructStack<ClientInput, ClientOutput>();
public middlewareStack: MiddlewareStack<ClientInput, ClientOutput> = constructStack<ClientInput, ClientOutput>();
readonly config: ResolvedClientConfiguration;
constructor(config: ResolvedClientConfiguration) {
this.config = config;
Expand Down

0 comments on commit e98c52a

Please sign in to comment.