Return type of getClientConfig. This types narrow the returned client config version
if the caller specified a static version, e.g. generateClientConfig(_, _, ClientConfigVersions.V1)
Add new supported version here such as
export type ClientConfigVersionType = T extends '1.1'
? clientConfigTypesV1.AWSAmplifyBackendOutputs
: T extends '2'
? clientConfigTypesV2.AWSAmplifyBackendOutputs
: never;
Return type of
getClientConfig
. This types narrow the returned client config version if the caller specified a static version, e.g.generateClientConfig(_, _, ClientConfigVersions.V1)
Add new supported version here such as export type ClientConfigVersionType = T extends '1.1'
? clientConfigTypesV1.AWSAmplifyBackendOutputs
: T extends '2'
? clientConfigTypesV2.AWSAmplifyBackendOutputs
: never;