https://pulumi.com logo
#typescript
Title
# typescript
i

icy-controller-6092

05/19/2023, 5:12 AM
Is there a way to type this function so it accepts either
CustomResource
or
ComponentResource
https://gist.github.com/mattfysh/81a761119c84b7d026bf1ca1a9c2220c
I couldn't really see a way, so I just created a new method