Is there a way to resolve types from packages on peer and dependencies? Importing a chain of packages causes "The inferred type of X cannot be named without a reference to Y" microsoft/TypeScript#47663 when using with pnpm.
For example, if I have a package named @ttoss/cloud-roles that, after build, generates (@ttoss/cloudformation is a dependency).
import { IAMRoleResource, CloudFormationTemplate } from '@ttoss/cloudformation';
export { CloudFormationTemplate, IAMRoleResource, Outputs } from '@ttoss/cloudformation';
When I import @ttoss/cloud-roles, I get the error:
I've tried using the experimental --dts-resolve
flag, but it didn't work.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too