I wanted to inject a value into an array `statemen...
# typescript
g
I wanted to inject a value into an array
statements: pulumi.Input<pulumi.Input<aws.iam.PolicyStatement>[]>;
during the creation of a Component resource and it looks like the only way to do so is to change the type to
statements: pulumi.Input<aws.iam.PolicyStatement>[];
or
statements: aws.iam.PolicyStatement[]
Is there anything I can do to keep the original type?