用 pnpm 管理项目依赖,最近在集成 platejs 的编辑器,有个地方一直报错 TS2742 The inferred type of 'EditorKit' cannot be named without a reference to .pnpm/[email protected]/node_modules/remark-stringify. This is likely not portable. A type annotation is necessary., 各种姿势搞了个遍都没用,最后换成 bun 安装依赖解决了,难道说 bun 才是未来?