https://pulumi.com logo
c

clever-painter-96148

11/02/2021, 10:23 PM
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

clever-painter-96148

11/02/2021, 10:29 PM
Thanks! That's actually what I am doing. So what's the purpose of registerOutputs then?