The prosemirror project now supports typescript officially. However, when using y-prosemirror together with latest prosemirror. There will be some compiler error because y-prosemirror still using the old type declarations from @types/prosemirror-* packages.
The prosemirror project now supports typescript officially. However, when using y-prosemirror together with latest prosemirror. There will be some compiler error because y-prosemirror still using the old type declarations from
@types/prosemirror-*
packages.This PR is intend to solve this issue.
Scripts runned:
npm run start
npm run lint
npm run test
npm run dist