trying to anything else tends to result in `error ...
# general
p
trying to anything else tends to result in
error TS2740: Type 'Promise<GetSubnetIdsResult>' is missing the following properties from type 'Input<string>[]': length, pop, push, concat, and 26 more.
w
This error can be resolved using the snippet I shared in the sibling thread. As the error tries to indicate (though with limited success :-)) - the problem is that a
GetSubnetIdsResult
is not a
string[]
. But it has an
ids
property which is.