I'm trying to do the following: I have an object that looks like that
const object = {
healthcheck: [
{ method: 'get', name: 'test' }
],
users: [
{ method: 'get', name: 'auth' }
],
};
So I have an object that has keys, each key can be any string, and each key is an array of objects that has method and name as keys.
How can I use JSDoc to give intellisense with a dynamic key inside the object?
Thanks!