I keep getting
The inferred type of 'parse' cannot be named without a reference to '../../node_modules/.pnpm/@[email protected]/node_modules/@sapphire/result/dist/lib/Option/Some.js'. This is likely not portable. A type annotation is necessary.
in any situation where I use
public override parse(
``` which the docs use in multiple examples. A quick search reveals that the suggested solution is adding
```ts
public-hoist-pattern[]=*@sapphire*
however this does not resolve the issue.
If the issue is indeed from pnpm's side, couldn't a maintainer of sapphire open an issue in pnpm's git repo about this since it's a pretty big thing? It seems a bit ignorant to tell the user to "switch to yarn" if they use pnpm. pnpm is a pretty popular choice, with over 3 million weekly downloads.
Normally I would open an issue on pnpm's repo. However, I don't really have deep enough technical knowledge as to what exactly is happening to open a good bug report.