i'm having a weird issue with TS 3.7.2 and pulumi....
# general
b
i'm having a weird issue with TS 3.7.2 and pulumi.all - it seems to think all the parameters are the same type. is this known / is there a workaround please?
e.g.
Copy code
PromiseConstructor.all<azure.core.GetResourceGroupResult, azure.core.GetResourceGroupResult, azure.core.GetResourceGroupResult>
is how it's seeing
Copy code
Promise.all([azure.core.getResourceGroup(args.ResourceGroupArgs),    azure.containerservice.getRegistry(args.ContainerRegistryArgs),
azure.keyvault.getKeyVault(args.KeyVaultArgs)]).then((
ah it was resolving to PromiseConstructor.all<TAll>
manually specifying all the types fixed it but it's wayyyy more long winded now
Copy code
return Promise.all<
        azure.core.GetResourceGroupResult,
        azure.containerservice.GetRegistryResult,
        azure.keyvault.GetKeyVaultResult
    >([
        azure.core.getResourceGroup(args.ResourceGroupArgs),       azure.containerservice.getRegistry(args.ContainerRegistryArgs),        azure.keyvault.getKeyVault(args.KeyVaultArgs)
    ])
w
Interesting - this may be a breaking change in TypeScript 3.7. Could you open an issue in our github? We definitely want to look into this.
👍 1
b