Ask questionsTypeScript declarations no longer produced in 2.0
TypeScript declarations were disabled in this 2.0 commit: https://github.com/quilljs/parchment/commit/42ad4244110b9c872a3e8defb316f17fd64bc294
What was the reason for that? We have TypeScript classes that extend from Parchment classes, and it would be nice to have the TS definitions available, please!
Answer
questions
alecgibson
I'm running into this issue again, because I'd like to use the new override keyword, but I can't because we compile parchment from TypeScript (which then throws compiler errors).
It's pretty weird for us to be compiling a 3rd-party library, so it would be nice to just require the compiled JS, and be able to use a type definition.
Why was the type definition removed?
Related questions
No questions were found.