These errors happen because IAWSAmplifyCloudLogicConfiguration is not an array in the type definitions, but an object with numeric indices. However, the generator actually adds an array.
Making this value an array of configurations in the typings works beautifully.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
I am modifying at runtime my generated client configuration to add headers for offline use. With the types as they are, I get Typescript errors:
I am trying to map my config as such:
These errors happen because IAWSAmplifyCloudLogicConfiguration is not an array in the type definitions, but an object with numeric indices. However, the generator actually adds an array.
Making this value an array of configurations in the typings works beautifully.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.