![]() I understand the reasoning though, just wish there was an alternative for those that did use that generic. That is going to make our types worse overall but I’m going to try to find a way to just overwrite the default Schema types so we can retain our ability to look up nodes and marks easily. On top of that, doing checks like won’t yield our main schema so we don’t get intellisense that includes our nodes and marks. However, the lack of schema generics is causing loads of problems for us because we do use multiple schemas under different conditions and looking up nodes. ![]() We are trying to upgrade to use the new Prosemirror types and although our type checker basically exploded, the experience has been really good.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |