Type alias AwsClientStub<TClient>

AwsClientStub<TClient>: TClient extends Client<infer TInput, infer TOutput, infer TConfiguration> ? AwsStub<TInput, TOutput, TConfiguration> : never

Type for AwsStub class, but with the AWS Client class type as an only generic parameter.

Example

let snsMock: AwsClientStub<SNSClient>;
snsMock = mockClient(SNSClient);

Type Parameters

  • TClient

Generated using TypeDoc