This message was deleted.
# typescript
s
This message was deleted.
a
Hi Márcia! you should set type for the object.. for example:
Copy code
const containers = config.requireObject<MyBlobContainersInterface>("blobContainers");
c
Hi Pasquale! Thank you for your input. I realized I was indeed missing the type of object I wanted to retrieve using
config
. I ended up making the object simpler by doing so:
Copy code
<stack_name>:blobContainers:
- name: container1
  accessLevel: Container
- name: container2
  accessLevel: Blob
And then used the following
Copy code
containers: { [key: string] } [] = config.requireObject("blobContainers");
👍 1