pulumi-kubernetes
pulumi-kubernetes copied to clipboard
generated doc type doesn't match TS (transformations)
See here: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/kubernetes/yaml/#ConfigFileOpts-transformations
It should be an array of functions that return void vs a function that returns void[]
The definition from the source:
transformations?: ((o: any, opts: pulumi.CustomResourceOptions) => void)[];
The docs:
transformations?: (o: any, opts: CustomResourceOptions) => void[];
The docs are just missing parentheses around the function type.