In case, we need to use dynamic key to parse data out of some nested object and destructure it as below, is it required to be assigned to some alias as below. I am getting compilation error otherwise.
const { [dynamicKey] : isAliasVarReqd } = data.something[dynamicKey]