
In the CommonJS and UMD reflection hosts, the logic for computing the `viaModule` property of `Declaration` objects was not correct for some cases when getting the exports of modules. In these cases it was setting `viaModule` to the path of the local module rather than `null`. PR Close #36989