When using a ComponentResource in TypeScript, how ...
# typescript
c
When using a ComponentResource in TypeScript, how am I supposed to access outputs registered with https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#ComponentResource-registerOutputs ? I understand that I call registerOutputs() at runtime and that cannot affect the ComponentResource typing. Are the outputs available despite the lack of typing?
c
Thanks! That's actually what I am doing. So what's the purpose of registerOutputs then?