This message was deleted.
# getting-started
s
This message was deleted.
p
FWIW, I have this as a workaround:
Copy code
const privateSubnetIds = vpcStack.requireOutput("privateSubnetIds") as unknown as string[];
but that seems kind of hacky..
h
iirc doesn't requireOutput accept a generic argument i.e.
const privateSubnetIds = vpcStack.requireOutput<string[]>("privateSubnetIds")
(Sorry haven't got a pulumi project in front of me atm)
p
Hi @helpful-tent-95136, thanks for your suggestion. I attempted that, but my IDE is producing a warning. And it still thinks it’s an
any
type when referenced later.